Plamdi Posted October 21, 2006 Share Posted October 21, 2006 Here is a more universal version:@Echo offclsdeltree /y "%SystemRoot%\temp\*.*"deltree /y "%SystemRoot%\WUTemp\*.*"deltree /y "%SystemRoot%\system32\config\systemprofile\cookies\*.*"Rem: No need to duplicate the following section for each registered Userdeltree /y "%USERPROFILE%\Cookies\*.*"deltree /y "%USERPROFILE%\History\*.*"deltree /y "%USERPROFILE%\recent\*.*"deltree /y "%USERPROFILE%\Local Settings\cookies\*.*"deltree /y "%USERPROFILE%\userdata\*.*"deltree /y "%USERPROFILE%\Local Settings\History"deltree /y "%USERPROFILE%\Local Settings\Temp\*.*"deltree /y "%USERPROFILE%\Local Settings\History\Temporary Internet Files\Content.IE5\*.*"deltree /y "%USERPROFILE%\Local Settings\Temporary Internet Files\Content.IE5\*.*"deltree /y "C:\Documents and Settings\NetworkService\Cookies\*.*"deltree /y "C:\Documents and Settings\NetworkService\Local Settings\History\History.IE5\*.*"deltree /y "C:\Documents and Settings\NetworkService\Local Settings\Temp\*.*"deltree /y "C:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files\Content.IE5\*.*"deltree /y "C:\Documents and Settings\LocalService\Local Settings\History\History.IE5\*.*"deltree /y "C:\Documents and Settings\LocalService\Local Settings\Temporary Internet Files\Content.IE5\*.*"deltree /y "C:\Documents and Settings\LocalService\Local Settings\Temp\*.*"deltree /y "C:\Documents and Settings\LocalService\Cookies\*.*"deltree /y "C:\Documents and Settings\Administrator\Local Settings\Temp\*.*"deltree /y "C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files\*.*"deltree /y "C:\Documents and Settings\Administrator\Local Settings\History\*.*"deltree /y "C:\Documents and Settings\Administrator\Cookies\*.*"deltree /y "%TEMP%\*.*"deltree /y "%TEMP%orary Internet Files\*.*"deltree /y "%USERPROFILE%\Local Settings\History\*.*"deltree /y "%USERPROFILE%\Cookies\*.*"deltree /y "C:\$VAULT$.AVG\*.*"deltree /y "C:\Regclean\*.reg"deltree /y "%SystemRoot%\prefetch\*.*"deltree /y "C:\Program Files\CallWave\Calls\*.*"deltree /y "%USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Profiles\DEFAULT.HKJ\Cache\*.*"deltree /y "%SystemRoot%\system32\WgaTray.exe deltree /y "%SystemRoot%\system32\dllcache\WgaTray.exedeltree /y "%SystemRoot%\system32\wgalogon.dll deltree /y "%SystemRoot%\system32\dllcache\wgalogon.dll Link to comment Share on other sites More sharing options...
SutherlandAndrew Posted October 26, 2006 Share Posted October 26, 2006 "Treesize" is also a good directory size tool - it adds to the context menu too, so you can see a heirichal (sorry - spelling ) view of that directory and everything under it. Colour codes the larger sizes, etc... and is free with no nag screens Link to comment Share on other sites More sharing options...
Andromeda43 Posted November 8, 2006 Share Posted November 8, 2006 Plamdi,Thanks.....I've been looking for some of the improvements you listed.I just found out too, on another forum, that typing "set" in a command prompt will give you all those shortcuts.We live and learn! I've already modified my Generic XPCleanup.bat program on my website to reflect those changes.Thanks for your input. It's appreciated! B) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now