A critical bug with batch files

A

Amir

A critical bug with Microsoft AntiSpyware Beta1 version
1.0.501 running under Windows XP.

I have a batch file in one of my directories that
includes along many others the command "del *.dll /s /q".
The first time I run this batch file after installing
Microsoft AntiSpyware software, the AntiSpyware software
prompted me "An Unknown Script File Attempting to Run
Requires Approval" and when I allowed the execution, the
dlls from my Windows\System32 directory (and all its
subdirectories) were deleted.

The commands on the batch file should be executed on the
current directory and not on the System32 directory. It
seems that the AntiSpyware software was
validating/updating some settings in the System32
directory and by mistake the current active directory is
changed to the System32.

You can easily reproduce this problem by changing the
command in the batch file to be "md AntiSpywareBug"
and check where this directory has been created and
remember that this bug happens only the first time you
execute the batch file if you have the "Remember this
action" check box ticked.
 

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