|
-
April 24th, 2002, 03:40 PM
#11
Thanks again for the extra info, some I had already which I use in a different batch file that I run everyday to delete Cookies, tif, temp, history, recent, etc. It is as follows:
echo Starting to Process junk.bat
echo Looking for Smartdrv Disk Cache
::
:: if the standard smartdrv disk cache is available, use it to speed things up
if exist %winbootdir%\smartdrv.exe %winbootdir%\smartdrv.exe 2048 16
::
:: The next 9 lines wipe out the main junk files
deltree /y c:\windows\cookies\*.*
deltree /y c:\windows\cookies\index.dat
deltree /y c:\windows\locals~1\tempor~1\*.*
deltree /y c:\windows\locals~1\tempor~1\Content.IE5\*.*
deltree /y c:\windows\tempor~1\*.*
deltree /y c:\windows\recent\*.*
deltree /y c:\windows\history\*.*
deltree /y c:\windows\temp\*.*
deltree /y c:\windows\applic~1\micros~1\intern~1/userdata
::
echo Erasing Icon Cache!
::
:: Next line erases the icon cache, saving some resources on restart
if exist %winbootdir%\ShellI~1\ deltree /y %winbootdir%\ShellI~1
::
echo Fixing and/or Optimizing the Windows Registry!
::
:: if exist %winbootdir%\command\scanreg.exe %winbootdir%\command\scanreg.exe /fix
if exist %winbootdir%\command\scanreg.exe %winbootdir%\command\scanreg.exe /opt
::
echo Done. Please reboot now.
exit
I don't take all credit for writing that, other people gave me ideas, and I just modified some of it to suit my system, seems to work well anyway.
This other batch file that you gave me, I see as keeping seperate, and running about once a week, which is how often I used to run HD Valet.
I am running 98se, and I do have the dos help file you refered to loaded on my system, which I got from the olddos.exe that comes on the windows cd.
I also downloaded a usefull command index, but I cant remember exactly where I got it from, I think it was through the Bootdisc.com site, but I have found it excellent.
Anyway thanks again, I will definitely be back with more questions soon.
Cheers.
------------------
cenz
cenz
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|