Cleaning up XP Junk Via Batch

Operating System Tips, Tricks and Hack which include Windows 10 and others, CentOS, Linux, MAC OS, iOS
Post Reply
ar
Ultimate Contributor
Ultimate Contributor
Posts: 6666
Joined: Feb 17, 2007
Location: Pakistan, Lahore
Contact:

Cleaning up XP Junk Via Batch

Post by ar » Oct 29, 2008 Views: 1007

Clean uo ur system TEMP, RECENT, HISTORY, TEMPRORY INTERNET FILES, & PREFETCH files Via a simple Batch File

Copy This Coading To Notepad And save it as Cleanup.bat
Please Note ALWAYS RUN THIS FILE FROM SYSTEM DESKTOP

**********
@echo Off
@Title Ghost Nt Cleaning System File
@
@cd\
@
Echo. Cleaning Prefetch Files
@cd %windir%\prefetch
@del /s /q *.* |echo. >nul
@cd\
Echo. Cleaning Temprory Files
@cd %USERPROFILE%\Local Settings\Temporary Internet Files
@del /f /s /q /a s *.* |echo. >nul
@cd..
@rd /s /q Temp |echo. >nul
@rd /s /q History |echo. >nul
@@MD Temp
@cd\
@del /s /q *.tmp
@
@cd %USERPROFILE%\Recent
@del /s /q *.* |echo. >nul
Echo. Please Wait More For Last Cleanup
@del /s /q *.chk |echo. >nul
@
Echo. Cleanup Sucessfull

********

Post Reply

Return to “Operating System Tricks”