Saturday, January 1, 2011

How to create a batch file that will delete temp internet files

Posted by Ravva Vamsi at 2:30 PM

Share this Post and Be Awesome

create a batch file that will delete temp internet files.
 
Answer:-
For Winows 2k, Xp and 2003, for NT, 9x, Me: 
Open Notepad and enter the following:
-----------------------------------------------------------
cd\ 
cd C:\Documents and Settings\$username$\Local Settings\ 
del /Q Temporary Internet Files 
echo Deleting Files 
echo File Deleted 
mkdir Temporary Internet Files 
exit
-----------------------------------------------------------
Replace $username$ with the Account names used on the machine...
For deleting history and Temp, just change Temporary Internet Files for History or Temp.
And save the file as delete.bat or whatever you wish Should work

For Any Windows like 7,vista or windows 8 , windows 10.
Open NotePad and Paste the Following Code:
-----------------------------------------------------------
cd\ 
cd %temp%
ECHO Y | DEL *.*
echo Deleting Files 
echo File Deleted 
exit
-----------------------------------------------------------
and save it as delTemp.bat and Run the file , it will delete all temp files Safely
I think You Like this Post!!

Comment if you need help.
-Posted By UandiStar.org

Love to hear what you think! Thanks Would make us Smile :)

Receive all updates via Facebook. Just Click the Like Button Below else Hit close icon

-->

Search Entire Site

Custom Search
back to top