Professional Webmasters Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Cleaning up XP Junk through a Batch file

Go down

Cleaning up XP Junk through a Batch file Empty Cleaning up XP Junk through a Batch file

Post  andry Wed Jun 09, 2010 11:55 pm

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
andry
andry
Moderator
Moderator

Posts : 467
Join date : 2010-05-07

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum