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
If batch file has unix line endings (line separators) this can sometimes happen.
Just unix2dos it and problem should be solved.