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

后端 未结 9 1259
后悔当初
后悔当初 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:37

    If batch file has unix line endings (line separators) this can sometimes happen.

    Just unix2dos it and problem should be solved.

提交回复
热议问题