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