Creating a Batch to free up disc space

Last update on April 25, 2009 04:40 PM by fahd_zboot
Published by jak58

Creating a Batch to free up disc space









You can free up spaces on your hard drive. Just follow these instructions:

Open Notepad, copy and paste:

CD\
CD %APPDATA%
CD..
CD LOCAL\MICROSOFT\WINDOWS\EXPLORER
DEL *.db
CD\
CD %Windir%
CD SoftwareDistribution
DEL /F /S /Q Download
vsp1cln /quiet /verbose
vssadmin resize shadowstorage /On=C: /For=C: /Maxsize=3GB
reg add hklm\SYSTEM\CurrentControlSet\Services\VSS /v Start /t REG_DWORD /d 3 /f
reg add hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg /v DiskPercent /t REG_DWORD /d 5 /f


Then click on FILE > SAVE AS
On Save as type: Select All files
Give the file a name which ends with .bat
Click Save

To run the file, you have to right click on it> Run as administrator.

You can also use CCleaner
Best answers for « Creating a Batch to free up disc space » in :
Free up space on the system partition Show Free up space on the system partition The folder "My Documents" Favorites Messages from Outlook Express Temporary files Restore points Additional things you can do Your hard drive encloses two partitions complying of:...
[Vista] How to free some disk space Show[Vista] How to free some disk space Sometimes when checking your hard disk cappacity, you found that there is not much free space left , even though there are not may program installed. Vista consumes a lot of disk resources for...
Disable alert -Low Disk Space ShowDisable alert -Low Disk Space Whenever the free space on your partitions becomes very low, a notification in form of pop up might regularly appears on windows taskbar. Below is a tips of how to disable this alert. Make a back up of...
How to speed up a slow PC ShowHow to speed up a slow PC Problem 1: Not enough RAM How to know if your computer has enough RAM Problem 2: Temporary files have built up on your hard disk How to delete Temporary Files Problem 3: Your computer has been infected Problem 4:...
Download LC ISO Creator ShowLC ISO Creator is very simple: it allows to create a .ISO file from your CD. Then, it allows you to burn these ISO files, to use CD emulation software (in order not to use any more the original CD) or to make a backup copy. The software is...
Download PDF Creator ShowSupports Windows 7 Beta PDFCreator is a free tool to create PDF files from almost any application that can print. It also possesses options of security allowing to code the PDF to protect their reading. PDF Creator also allows to create images...
Download The Logo Creator ShowDescription The logo creator was designed by Laughingbird Software Groups. The application is based on the creation of logos. Also, the application is available for everyone; no knowledge requirements needed to use it. Logo Creator is simple and...
HTML Markup ShowHTML, A Markup Language HTML is not a programming language. Rather, it is used for describing the layout and format of content, written in the form of simple text. An HTML page is a basic text file containing tags for specifying text format,...
The mouse ShowIntroduction to the mouse The mouse is a pointing device used to move a cursor on the screen and allowing objects to be selected, moved and manipulated using the buttons. The consistent action of pressing (clicking) on a button in order to carry...
Flat monitor ShowFlat-screen monitors Flat-screen monitors (also called FPDs for Flat panel displays) are becoming more and more widespread, as they take up less space and are less heavy than traditional CRT monitors. What's more, the technology used by flat-screen...