First of all, I'm very new to batch/command scripting. The problem that I'm having is, while working on a script, from time to time I'll get a "The syntax of the command in incorrect" error. I can normally work my way through the script to find the problem, however, with the lack of information that I'm receiving this is a very tedious task. So my question, is there a way to get any information about the error (e.g. line number, etc.), similar to Perl's use warnings and use diagnostics? I have tried searching google and this site but so far, I've come up empty.