A
Alex
The first time you run an unknown .BAT file, Microsoft
AntiSpyware gives you a warning dialog and asks you to
allow or block the execution of the batch file. If you
click Allow, however, the .BAT file is run with the wrong
current directory, often causing it to fail at its task.
If you then run it again, this time the warning dialog
does not come up because AntiSpyware remembers to allow
the batch file, and the current directory is set just
fine.
This is particularly annoying when the batch file does
something like create a file in the current directory as
you get random files scattered around your computer.
AntiSpyware gives you a warning dialog and asks you to
allow or block the execution of the batch file. If you
click Allow, however, the .BAT file is run with the wrong
current directory, often causing it to fail at its task.
If you then run it again, this time the warning dialog
does not come up because AntiSpyware remembers to allow
the batch file, and the current directory is set just
fine.
This is particularly annoying when the batch file does
something like create a file in the current directory as
you get random files scattered around your computer.