Here's the Vista version of Clean My PC; remember to save this code in notepad and change the extension to .bat:
Rem ************************ Code Starts ******************************* @echo off cls title Clean My PC for Vista By Matt Bramer color 0E echo Start Time is %time% Echo. Echo. Rem ********* Delete Temporary Internet Files: **** Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 Rem ********* Delete Cookies: ********************* Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 Rem ********* Delete History: ********************* Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1 Rem ********* Delete Form Data: ******************* Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16 Rem ********* Delete Passwords: ******************* Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32 Rem ********* Remove All IE Cached Data *********** Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255 Echo ********* Removing All Temp Files and Cookies for IE ************* RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351 Echo. Echo Removal of Temp Files are Complete! Echo. Echo. Echo. Echo ********* Removing PC Temporary Files ********** rmdir /S /Q %userprofile%\AppData\Local\Temp 2>Nul mkdir %userprofile%\AppData\Local\Temp 2>Nul rmdir /S /Q %windir%\Temp 2>Nul mkdir %windir%\Temp 2>Nul c:\windows\system32\cleanmgr.exe /dc /sagerun: 1 Echo. Echo Removal of PC Temporary Files Complete! Echo. Echo. Echo. Echo ********* Vista Defrag All Drives ************** defrag C: -w -f -v GOTO End :End Echo Geeks have just cleaned your PC for free... Be thankful! Echo Finish Time is: %time% Pause exit Rem ****************** Code Ends*********************** Regards, Matt www.crossloop.com/matthewbramer On Sep 25, 8:39 am, Dentist <[EMAIL PROTECTED]> wrote: > 'Echo Geeks have just cleaned your PC for free... """"Be thankful"""' > > Thank you...helpful > > On Sep 22, 4:47 am, RemyMaza <[EMAIL PROTECTED]> wrote: > > > > > Just something I've been using lately that I think people here would > > benefit from. This is a batch file that I run on many of my pc's > > within my network. Save this code in a text file and change the > > extension to .bat. I hope you find this useful. > > > Rem ****************** Code Starts*********************** > > > @echo off > > cls > > title Clean My PC for XP By Matt Bramer > > Rem You are free to use this however you want. Modify the code to > > whatever suits your needs. > > color 0E > > > echo Start Time is: %time% > > > Rem ********* Delete Temporary Internet Files: **** > > Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 > > > Rem ********* Delete Cookies: ********************* > > Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 > > > Rem ********* Delete History: ********************* > > Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1 > > > Rem ********* Delete Form Data: ******************* > > Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16 > > > Rem ********* Delete Passwords: ******************* > > Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32 > > > Rem ********* Remove All IE Cached Data *********** > > Rem RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255 > > > Echo ********* Removing All Temp Files and Cookies for IE > > ************* > > RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351 > > > Echo. > > Echo Removal of All Temp Files and Cookies for IE has Completed! > > > Echo. > > Echo. > > Echo. > > > Echo ********* Removing PC Temporary Files ********** > > rmdir /S /Q "%userprofile%\Local Settings\Temp" 2>Nul > > mkdir "%userprofile%\Local Settings\Temp" 2>Nul > > > rmdir /S /Q %windir%\Temp 2>Nul > > mkdir %windir%\Temp 2>Nul > > > c:\windows\system32\cleanmgr.exe /dc /sagerun: 1 > > > Echo. > > Echo Removal of PC Temporary Files has Completed! > > > Echo. > > Echo. > > Echo. > > > Echo ********* Defragging Hard Drive ************** > > defrag C: -f -v > > > GOTO End > > > :End > > Echo Geeks have just cleaned your PC for free... Be thankful! > > Echo Finish Time is: %time% > > > Pause > > exit > > > Rem ****************** Code Ends*********************** > > > Regards, > > Mattwww.crossloop.com/matthewbramer- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Computer Tech Support" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/computer-tech-support?hl=en -~----------~----~----~----~------~----~------~--~---
