During my uninstall, many of the files are loaded into memory. Therefore they are marked for delete on reboot. I also would like to delete the folders they are in on reboot.
Any idea how to hack this, workaround?
Thanks in advance.
Professional Software Development Tools
During my uninstall, many of the files are loaded into memory. Therefore they are marked for delete on reboot. I also would like to delete the folders they are in on reboot.
Any idea how to hack this, workaround?
Thanks in advance.
Make a registry entry in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnce
Name: AnythingyouWant
Value: command.com /c rmdir /s /q c:\DirName
This will execute on the reboot and delete a given folder. This only holds true if the same user logs in again and it will flash a DOS window very quickly when it happens, but it does work.
I just wondered why above command "command.com /c rmdir /S /Q c:\myDir"
is not working. It responds with error queted: Invalid switch -/S. Is there some other notation to pass switch and specify that that switch belongs to literal string comman after /c swith and command com to proceed that switch like literal.