Batch files with antispyware loaded

T

Tony Hoyle

It took me a while to find this.. didn't initially
attribute it to antispyware (thought it was a strange bug
in cmd.exe)

With antispyware loaded, if you execute a batch file in
cmd.exe it'll only ever work *once*. After that no batch
files will work at all.. they simply won't run.

eg: (must start with a new cmd.exe)

D:\>echo @echo batch file running >test.bat

D:\>test
batch file running

D:\>test

D:\>

The second (and all subsequent times) time the script did
*not* run. After this no batch files will run until the
cmd.exe is killed and restarted.

Antispyware also does not prompt for permission to run the
script at any point - presumably this works only from the
GUI (which IMO makes it a bit useless, but whatever...)

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top