Batch files with antispyware loaded

  • Thread starter Thread starter Tony Hoyle
  • Start date Start date
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
 
Back
Top