How to batch delete the WINDOWS.OLD folder under Windows7

  
The purpose of this tutorial is to batch delete the WINDOWS.OLD folder under Win7 using batch processing. The folder WINDOWS.OLD is the backup directory of the previous operating system when you install and upgrade Windows 7. It may occupy several or even dozens of G space of your hard disk!
WINDOWS.OLD folder can not be deleted directly. Win7's own backup is definitely a bit special, if you delete it directly, oh, it will cause Windows 7 Explorer (resource manager) to crash. So how do you easily delete the WINDOWS.OLD folder?
Open Notepad and paste the following content into it
rd/S/Q c:WINDOWS.OLD
or
rd/S/Q $WINDOWS.OLD
Ok, save it as a batch file, for example, delold.bat. After saving, right click on the delold.bat file and select “Run as administrator” When prompted to confirm the deleted target WINDOWS.OLD folder, confirm the input y and press the Enter key to be OK.
Of course, if you don't need batch processing, you can also directly execute ——
1, find the cmd.exe file (in “start –>program–>attachment”), Right click to select “Run as administrator>;
2, command line input
rd/S/Q c:WINDOWS.OLD or rd/S/Q $WINDOWS.OLD
When you are prompted Confirm the deleted target WINDOWS.OLD folder, confirm the input y and press the Enter key.
In short, look at your personal habits, and make batch processing can be easily passed to friends.

Copyright © Windows knowledge All Rights Reserved