我无法理解以下 Windows 批处理文件的作用,有人可以解释一下:
for /f %%i in ("%0") do set curpath=%%~dpi
cd /d %curpath%
/*Some other code...*/
cd /d %curpath%
我无法理解以下 Windows 批处理文件的作用,有人可以解释一下:
for /f %%i in ("%0") do set curpath=%%~dpi
cd /d %curpath%
/*Some other code...*/
cd /d %curpath%