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.
私はこれを2台のコンピューターで試しましたが、同じ結果になりました。なぜこれが起こっているのか誰か教えてもらえますか?