EscapeCharsWindows() public static method

public static EscapeCharsWindows ( string input ) : string
input string
return string
 public static string PrepareFileName(string input)
 {
     if (Application.platform == RuntimePlatform.OSXEditor)
     {
         return(CommandLineFormatter.EscapeCharsQuote(input));
     }
     return(CommandLineFormatter.EscapeCharsWindows(input));
 }
Beispiel #2
0
        public static string PrepareFileName(string input)
        {
            input = FileUtil.ResolveSymlinks(input);
            string result;

            if (Application.platform == RuntimePlatform.WindowsEditor)
            {
                result = CommandLineFormatter.EscapeCharsWindows(input);
            }
            else
            {
                result = CommandLineFormatter.EscapeCharsQuote(input);
            }
            return(result);
        }