Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm running a batch file on Windows and got this error:

The syntax of the command is incorrect.

Is that possible to identify which line in the batch file is incorrect ?

like image 373
Misha Moroshko Avatar asked Oct 01 '10 14:10

Misha Moroshko


1 Answers

Please remove @echo off, and run from a command line. Still on your 7-zip problem?

like image 73
Benoit Avatar answered Sep 22 '22 10:09

Benoit