DOS – Batch File – Error – The Syntax of the command is incorrect.

Background Sometimes when running batch file, one will get the error pasted below. Code Acknowledgement Here is stolen code for getting timestamp. Code   Diagnosis To determine the erroring line, we need to set "ECHO ON".   Code - Turn Echo ON Output Explanation The erroring line is the one that follows "The syntax of … Continue reading DOS – Batch File – Error – The Syntax of the command is incorrect.