Current directory flaw

D

Dan

Create a batch file, with something like dir *.exe in it.
Put the batch file in a folder, anywhere on any drive.

Run the batch file. MS AntiSpyware asks whether to allow
or block, click Allow and the current directory has been
changed to %system root% (e.g. c:\windows\system32).. at
which point the batch file is executed on the system
folder.

We use batch files during our build process to clean exes
and dlls from our build folder. We were somewhat dismayed
to see that it cleaned exes and dlls from our system
folder.

Might we see a fix for this soon?
 

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