Go to: Synopsis. Return value. Keywords. MEL examples.
string toNativePath( string )
None
Variable Name | Variable Type | Description |
---|---|---|
$path | string | The path to be converted. |
// Find a file in a subdirectory of the current one string $file = `workspace -q -fn`; // Result: D:/Projects/projectOne/scene2 // On Windows string $path = toNativePath( $file ); // Result: D:\Projects\projectOne\scene2 // On Windows