J
Jeff Laney
I ran a script that lives in my W: drive and deletes the last built EXE before it starts a new build. Well the MS Sypware tool warns of a new running batch file and asks if you want to allow it. If you click yes it runs it, BUT it has changed the process to be in C:\Windows\System32!
Therefore I deleted all *.exe files from my system folder. There is no way around this other than to add an out in the script to test for the current directory. If you say you don't allow it will ask you every time you run the batch file. If you select allow to allow the batch file it will change it on the first run, but each subsequent run will be from the correct location.
Jeff Laney
(e-mail address removed)
Therefore I deleted all *.exe files from my system folder. There is no way around this other than to add an out in the script to test for the current directory. If you say you don't allow it will ask you every time you run the batch file. If you select allow to allow the batch file it will change it on the first run, but each subsequent run will be from the correct location.
Jeff Laney
(e-mail address removed)