windows - Escape double quotes in parameter -
in unix run myscript '"test"' , "test"
in windows cmd 'test'
how can pass double-quotes parameter? know how manually cmd window don't have write program test program.
i cannot reproduce symptoms: if try myscript '"test"' batch file myscript.bat containing @echo.%1 or @echo.%~1, quotes: '"test"'
perhaps can try escape character ^ this: myscript '^"test^"'?
Comments
Post a Comment