Bug with .bat files (may destroy your installation)

S

schlm3

When I run a .bat file for the first time, MS AntiSpyware
asks if this bat file is allowed to run. If I click yes
(run it) it runs, but the working directory it runs from
is not the one from where I started it (doubleclicking in
Explorer). It runs from c:\windows\system32 !!
In my case I end up with tons of new directories in
c:\windows\system32, but you can imagine what happens if
the .bat file attempts to delete files....
 
A

Andre Da Costa

So why don't you just create a new directory and place the .bat file and run
in from there?
 

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