Re: Discussion about jeb's batch parsing rules on StackOverflow
Posted: 30 Jan 2018 18:22
I'm unsure if this is right.
Under Windows 10 enable debugging like npocmaka_ described (viewtopic.php?t=6438&p=54459#p54448; i've built it into "enableDebug.bat" in the following post).
Create "test.bat":
Code: Select all
@echo off
if a==a echo[ test.bat
echo[ test.bat
goto :eof
Code: Select all
@echo( echo[.bat
Code: Select all
Z:\>enableDebug.bat
Z:\>test.bat
Cmd: test.bat Type: 0
@
Cmd: echo Type: 0 Args: ` off'
if
Cmd: a Type: 39 Args: `a'
Cmd: echo[ Type: 0 Args: ` test.bat'
test.bat
Cmd: echo[ Type: 0 Args: ` test.bat'
@
Cmd: echo Type: 0 Args: `(echo[.bat'
echo[.bat
Z:\>
penpen