Windows Batch script to remove Windows Update Backup files
Create a file called "cleanup.cmd"
Paste text below there:
for /f %x in ('dir %SYSTEMROOT%\$*$ /s /b') do (rmdir /s /q %x)
for /f %x in ('dir %SYSTEMROOT%\ie7updates\KB* /s /b') do (rmdir /s /q %x)
Paste text below there:
for /f %x in ('dir %SYSTEMROOT%\$*$ /s /b') do (rmdir /s /q %x)
for /f %x in ('dir %SYSTEMROOT%\ie7updates\KB* /s /b') do (rmdir /s /q %x)
Comments
Post a Comment