How to determine which line in a batch file has a syntax error?

I am running a batch file on Windows and received this error:

The syntax of the command is incorrect.

Is it possible to determine which line in the batch file is incorrect?

+3
source share
1 answer

Remove @echo off and run from the command line. Still on your issue with a 7 digit name?

+4
source

Source: https://habr.com/ru/post/1767542/


All Articles