...
Returns the directory portion of a file path, including the ending forward slash.
Scroll pagebreak |
---|
Examples
...
language | text |
---|
// Get the location of a file path.
...
string $location;
...
string $path = "c:/temp/take25.c3d";
...
// Should be "c:/temp/"
...
$location = `getFileLocation $path`;
...
print $location;
Additional information
Related commands
...