string toNativePath( string )
なし
変数名 | 変数型 | 説明 |
---|---|---|
$path | string | 変換するパスです。 |
// 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