Is there any way to get the line number of the currently executing statement in a batch file? Something like "blah blah blah error on line 25 in batch file abcdef", for instance. I was thinking something like an internal variable ("%_LineNumber", for example) but searching the docs I'm not finding anything...
- Dan
- Dan