"启动"在.BAT批处理文件命令

问题描述:

我有一个非常简单的批处理文件,其中有previously为我工作,但不再会。

I have an extremely simply batch file, which has previously worked for me but no longer will.

start /wait steamcmd +login anonymous +force_install_dir C:\Games\CSGOServer\TEST
pause

有关某种原因,我一旦运行该文件得到以下错误:

For some reason I get the following error upon running the file:

http://imgur.com/Xd8di1Y (对不起,没有足够的代表使用HTML enbed)

http://imgur.com/Xd8di1Y (sorry, not enough rep to enbed with html)

任何想法,为什么开始将无法正常工作因为它显然是一个公认的命令?我也注意到在这方面奇怪的字符,但真的不能告诉这些哪里会来的。

Any ideas why start will not work given that it is clearly an accepted command? I did notice the strange characters in front of this but cannot really tell where these would come from.

先谢谢了。

达蒙

看来有人保存在UTF-8格式的批处理文件。用记事本打开该文件并单击的文件和RARR;另存为... 的。改变字段的编码的为ANSI,点击的保存的。确认您要替换文件。

Looks like someone saved that batch file in UTF-8 format. Open the file with Notepad and click File → Save As.... Change the field Encoding to "ANSI" and click Save. Confirm that you want to replace the file.