View Full Version : clean your system with this.
coldplay
April 24th, 2007, 06:55 AM
make a .txt file then change it to .bat file, double click to run. Thanks to the orignal writer.
{QUOTE-> @echo off
echo Cleaning......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo Done!
echo. & pause <-QUOTE}
any suggestion?
lodore
April 24th, 2007, 07:34 AM
take off the prefletch folder.
emptying the prefletch folder will slow you down and not make it any faster.
it changes fast enough anyway
lodore
ErikAlbert
April 24th, 2007, 07:48 AM
I'm planning to replace all kinds of cleaners with one single solution : history, registry, ...
It takes too much time to run all these softwares and sometimes it's risky also.
If I don't succeed, I will do it the old-fashioned way. :)
HAN
April 24th, 2007, 08:15 AM
I agree with the lodore's prefetch thoughts. I'm not sure where the idea clearing it causes speed to improve but that never made any sense to me at all.
That said, I suppose that if you really want to cover your PC usage tracks, clearing the prefetch would be something one should probably do...
GlobalForce
April 24th, 2007, 08:39 AM
The line [del /f /s /q %windir%\prefetch\*.*] for example state's;
Delete (http://www.ss64.com/nt/del.html) ALL [*.* (http://www.computerhope.com/jargon/w/wildcard.htm)] file's including any sub-folder's [/s], inside the window's prefetch directory[%windir% (http://vlaurie.com/computers2/Articles/environment.htm)\prefetch],
regardless of their read only attribute's [/f], and without removal confirmation [/q].
Percent variable's (concerning directories and command instruction's) are utilized for the purpose of bringing about a "common" ground between typical and atypical drive value's. Relating this to your proposed batch file mean's %windir% would corrospond to the same location on your system as mine, even though your install's drive might be labeled C, mine F.
The key to using these type file's is understanding their intention, including the fact that they're not alway's compatible between different operating structure's. Could you possibly provide a pointer to the original source?
Steve
besafe
April 24th, 2007, 02:21 PM
Does this clean more than CCleaner?
lodore
April 24th, 2007, 02:27 PM
this is my batch file for cleaning junk files
if there is anything else i could add you can tell me
lodore
pvsurfer
April 24th, 2007, 02:58 PM
{QUOTE-> Does this clean more than CCleaner? <-QUOTE}
I don't think so.
WSFuser
April 24th, 2007, 05:31 PM
{QUOTE-> Does this clean more than CCleaner? <-QUOTE}
nope; ccleaner also clears MRUs and it includes a registry cleaner feature as well.
vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.