开发者

Dos set directory with quotes not working

开发者 https://www.devze.com 2023-03-26 23:16 出处:网络
I am trying to achieve this: set MINIFYEXE = \"C:\\Progra开发者_运维百科m Files (x86)\\Microsoft\\Microsoft Ajax Minifier\\ajaxmin.exe\"

I am trying to achieve this:

set MINIFYEXE = "C:\Progra开发者_运维百科m Files (x86)\Microsoft\Microsoft Ajax Minifier\ajaxmin.exe"
echo %MINIFYEXE%

Expected is:

"C:\Program Files (x86)\Microsoft\Microsoft Ajax Minifier\ajaxmin.exe"

Output is:

ECHO is off.


Try removing the spaces before and after the equal sign in your SET statement:

set MINIFYEXE="C:\Program Files (x86)\Microsoft\Microsoft Ajax Minifier\ajaxmin.exe"
0

精彩评论

暂无评论...
验证码 换一张
取 消