我正在尝试运行 cmd 文件,但收到奇怪的错误。我正在运行这个:
#!/bin/ksh
#@echo off
#REM *************************************************************************
...
...
但结果返回错误,如下所示:
C:>#!/bin/ksh
'#!' is not recognized as an internal or external command,
operable program or batch file.
C:>#@echo off
'#@echo' is not recognized as an internal or external command,
operable program or batch file.
C:>#REM *************************************************************************
'#REM' is not recognized as an internal or external command,
operable program or batch file.
我已经在两台计算机上尝试过,结果相同。谁能告诉我为什么会这样?