Cleaning up XP Junk Via Batch

ghostomni's Avatar author of Cleaning up XP Junk Via Batch
This is an article on Cleaning up XP Junk Via Batch in Windows.
Rated 5.00 By 13 users
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

Code:
@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
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Really good one!
0
gprabhu's Avatar, Join Date: Aug 2007
Go4Expert Member
Really good ! Thank you.
0
sunsaan's Avatar, Join Date: Sep 2007
Light Poster
thats a good one..
well man. can u tell how to hide(asking for code) *.bat file and how to send hided *.bat file to the fren...?
0
jwshepherd's Avatar, Join Date: Aug 2007
Team Leader
you cannot really hide bat files and send it to someone.
0
sunsaan's Avatar, Join Date: Sep 2007
Light Poster
oh shit....
but someone says we can hide .bat file from coding....
0
jwshepherd's Avatar, Join Date: Aug 2007
Team Leader
if you can get it on a machine you can add it to the registry or to the start menu and then right click the batch file and check hidden. But if you send it through email it will most likely be blocked and never reach your target .
0
hanleyhansen's Avatar, Join Date: Jan 2008
Pro contributor
Good One!!!!