I have a customer who we built a screensave app for and it installs a configuration directory and a single .scr file in the windows/system32 folder.
Rather than have to manually navigate to the folder and remove it they want a quick method to remove the file. I wrote a .bat file and it works just fine on XP. Customer says it does not work on their Vista machine.
I don't have any experience with Vista so was wondering if anyone can provide some direction.
Here is the .bat file I wrote:
@echo off
cd c:\windows\syst em32
del "MyWiFi.scr "
echo y | del "MyWiFi dir"
rd "MyWiFi dir"
Thanks in advance for any assistance you can provide.
Lewis
Rather than have to manually navigate to the folder and remove it they want a quick method to remove the file. I wrote a .bat file and it works just fine on XP. Customer says it does not work on their Vista machine.
I don't have any experience with Vista so was wondering if anyone can provide some direction.
Here is the .bat file I wrote:
@echo off
cd c:\windows\syst em32
del "MyWiFi.scr "
echo y | del "MyWiFi dir"
rd "MyWiFi dir"
Thanks in advance for any assistance you can provide.
Lewis
Comment