Go to: Synopsis. Return value. Keywords. MEL examples.
string fromNativePath( string )
None
| Variable Name | Variable Type | Description |
|---|---|---|
| $path | string | The path to be converted. |
string $native = "c:\\examples\\scripts\\second\\city";
// Note the double backslashes used in input - in MEL, backslash is
// a special escape character and for it to be understood as the
// backslash character, two backslashes must be used
string $path = fromNativePath( $native );
// Result: c:/examples/scripts/second/city // On Windows