Bug in Examples.btm?

#1
Running EXAMPLES.BTM and then selecting an item runs that part of the file and then shows, " Press "L" to LIST this section, any other key to return to the menu".

When I select "L" as instructed it does not list anything but returns you to the menu same as any other key.

That is, the line if "%i" eq "L" list /t":_%s" %_batchname does not list anything, but I don't know why.

It this a bug or something wrong with my setup?
 

gwgaston

Senior IT Security Consultant
May 28, 2008
40
1
SC
#2
Change:

if "%i" eq "L" list /t":_%s" %_batchname

to:

if "%i" eq "L" *list /t":_%s" "%_batchname"

and change:

:_0
list %_batchname
return

to:

:_0
*list "%_batchname"
return