Here are a couple of ways to keep your PC tidy and help to speed it up. Just create them and add them to the desktop as a Shortcut. Run deltmp and then run def. You can even use TaskSchedular to run them.
This Batch file will empty your PC of Temp Files. Make sure that you copy all the information as if you get it wrong you will end up with a PC with a lot of empty folders.
Copy and paste between the ******* to notepad and save the file to the Root directory C:\> as deltmp.cmd
****************
:USERPROFILE
c:
cd \
cd %USERPROFILE%\"Local Settings"\"Temporary Internet Files"
del *.* /s /q
rmdir . /s /q
goto PREFETCH
:PREFETCH
cd \
cd %WINDIR%\PREFETCH
del *.* /s /q
goto INIT
:INIT
@echo off
setlocal
set cStatflag=0
C:
:USERTEMP
cd \
cd %TEMP%
:REMOVE
del *.* /s /q
rmdir . /s /q
:CHECK
if %cStatflag%==1 goto FINISH
:WINTEMP
cd \
cd %WINDIR%\TEMP
set cStatflag=1
goto REMOVE
:FINISH
endlocal
***************
This is a Command line version of the Defrag Utility follow the above steps and save it as def.cmd, you will have to create a text file and save it to the root directory as well it will be named DrvLtr.txt and it will list the Drives that you want to Defragment. EG: C: and press Enter D: and press Enter it is one line for each Drive.
**************************
REM chkdsk and defrag automation
for /F "eol= tokens=1 delims=( " %%i in (DrvLtr.txt) do set DrvLtr=%%i& call :dsKchk
:dsKchk
If %DrvLtr% == end goto :eof
chkdsk %DrvLtr%
If not errorlevel 3 goto :defrag
If not exist %DrvLtr%\winnt If not exist %DrvLtr%\windows If not exist %DrvLtr%\pagefile.sys goto :dskchkon
:dskchkoff
cd\
%DrvLtr%
echo Y chkdsk /F /R
goto :defrag
:dskchkon
chkdsk %DrvLtr% /F /R
:defrag
cd\
%DrvLtr%
defrag %DrvLtr% -b
defrag %DrvLtr%
:EOF
**************************
It will probably run through twice the first time that you use it.
This should help free up some memory for you. You could also remove some crap from your PC with Ccleaner.
Home of FreeRAM XP
http://www.yourwaresolutions.com/
Download and install CCleaner to tidy up your Registry. Backup the Registry as you go along, rescan again and again saving as you go until there are no errors left.
Cleaner: Windows
When you first open Ccleaner you will have an option to Analyze or Run Cleaner, after checking the left Pane and making your choices. Delete all Temp Files. If you scroll down you will see a greyed out box that has Advanced next to it. Left click on it and keep pressing OK to all of the responses. I normally Untick Windows Log Files and Memory Dumps as they may come in handy.
You don't have to install all of the add ons or shortcuts just the one to the Desktop.
http://www.ccleaner.com/download
Let us know how you get on.
Rob