我在批处理文件中有该脚本:
cd C:\TESTS\front-tests
call git pull
cd C:\TEST\front-tests\AutoApp\bin\debug
start AutoApp.exe
And git pull do not work because I can not change directory. Here is the result image:
我不知道 cd 命令之前的奇怪符号从何而来。
有任何想法吗?
批处理文件保存为 utf-8 BOM 前缀。你所看到的cd
prefix 是字节顺序标记。
将文件另存为 ANSI 或 utf-8 without BOM 以使其正常工作。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)