Why “The system cannot find the batch label specified” is thrown even if label exists?

后端 未结 9 1215
后悔当初
后悔当初 2020-11-30 02:48

While running a batch file in Windows XP I have found randomly occurring error message:

The system cannot find the batch label specified name_of_label

9条回答
  •  一整个雨季
    2020-11-30 03:19

    I have got the same issue before. However, the root cause was not CRLF at all. It was because in the script I executed an external program such as Ant, but did not put a CALL before Ant. So, make sure you CALL every external program used in your batch script.

提交回复
热议问题