Thread: Batch file cleaner
Threaded View
-
January 26th, 2011 02:26 PM #1
- Join Date
- Sep 2010
- Location
- Bucharest,Romania
- Posts
- 142
- Mentioned
- 0 Post(s)
- Tagged
- 54 Thread(s)
- Sex:
Batch file cleaner
For my computer, and those of my family, a created a batch file I called Clean that had it's shortcut in the startup folder for all users that cleaned out those files on start-up. The only drawback was that the folders remained, but they were empty.
Here's an example, which all may use if they want...Just replace User with the account name. Create the batch file, copy/paste the details below and save. Create the shortcut and put it in C:\Documents and Settings\All Users\Start Menu\Programs\Startup.
Right-click the shortcut, select Properties. Make Run: minimized and it will stay in the System Tray, then close. The initial run will take a while if it hasn't been done, but each subsequent shouldn't take long at all.
This one is for XP:
**Copy from Here**
del /F /S /Q C:\Windows\Temp\*.*
del /F /S /Q C:\Windows\Prefetch\*.*
del /F /S /Q "C:\Documents and Settings\User\Local Settings\Temp\"*.*
del /F /S /Q "C:\Documents and Settings\User\Local Settings\Temporary Internet Files\"*.*
del /F /S /Q "C:\Documents and Settings\User\Local Settings\Temporary Internet Files\Content.IE5\"*.*
cls
**To cls**
This one is for Windows 7:
**Copy from Here**
del /F /S /Q C:\Windows\Temp\*.*
del /F /S /Q C:\Windows\Prefetch\*.*
del /F /S /Q "C:\Users\User\Local Settings\Temp\"*.*
del /F /S /Q "C:\Users\User\Local Settings\Temporary Internet Files\"*.*
del /F /S /Q "C:\Users\User\Local Settings\Temporary Internet Files\Content.IE5\"*.*
cls
**To cls**
Enjoy...
For XP:
[attachment=1:68igc2g1]clean.rar[/attachment:68igc2g1]
For Windows 7:
[attachment=1:68igc2g1]clean.rar[/attachment:68igc2g1]
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
File Explorer / File manager Meet Files v2
By ミறѳѳղղįզվદ彡 in forum General Windows 11 CustomizationReplies: 0Last Post: October 4th, 2021, 09:14 AM -
Alienware The New Batch
By Originalganjaman in forum Wallpapers Posted by OriginalganjamanReplies: 7Last Post: June 6th, 2014, 09:58 PM -
Batch Convert Icon & Batch Convert In Photoshop
By 8pecxstudios in forum Video TutorialsReplies: 17Last Post: September 25th, 2013, 10:35 AM -
Panda Batch File Renamer 2.2 silent installer
By razorsedge in forum Unlockers and renamersReplies: 0Last Post: July 22nd, 2012, 07:01 AM -
Photoshop Actions/Batch Processing
By _Deano_ in forum PS CS5 TutorialsReplies: 0Last Post: June 12th, 2011, 06:01 PM
Thank you:happy::happy:
Office 16 64-bit Color...