Delete $NtUninstall* folders

  • Thread starter Thread starter Luis
  • Start date Start date
L

Luis

Hi all,

Is there a way to delete the $NtUninstall* folders using the command prompt?

I need it to create a batch file to do that.

Thanks!
 
ha, be careful.
I did this to try to clean up disk space. I was unable to remove
software afterwards. And other wierd things started to happen (cant
remember)
 
Here is a batch file that will do that:
(Change "C:" if necessary)

----------copy-inside-only----------
@echo off
for /d %%a in (C:\WINDOWS\$NtUninst*) do rd /s /q "%%a"
pause

----------copy-inside-only----------


ju.c
 
Using the %windir% or %systemroot% variable will take care of the drive
letter and Windows directory.
 
Back
Top