Bug with .bat files (may destroy your installation)

  • Thread starter Thread starter schlm3
  • Start date Start date
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....
 
So why don't you just create a new directory and place the .bat file and run
in from there?
 
Back
Top