3
I am following some instructions in More Ways To Speed Up Windows XP to help speed up my computer. One of those was to delete the temp
folder on shutdown. Yet after I shutdown and then boot up, the script did not touch my temp
folder, and I am unsure what's wrong. What should I change?
Here are the instructions I have:
1. Open Notepad and create a new file with the following entries:
RD /S /q “C:\Documents and Settings\"UserName without quotes”\Local Settings\
History”
RD /S /q “C:\Documents and Settings\Default User\Local Settings\History”
RD /S /q “D:\Temp” <–”Deletes temp folder, type in the location of your temp
folder”
2. Save the new file as anything you like, but it has to be a ‘.bat’ file,
for example, `fastboot.bat` or `deltemp.bat`
3. Click ‘Start’ then ‘Run’
4. Type in ‘gpedit.msc’ and hit ‘OK’
5. Click on ‘Computer Configuration’ then ‘Windows Settings’
6. Double-click on ‘Scripts’ and then on ‘Shutdown’
7. Click ‘Add’ and find the batch file that you created and then press ‘OK’
I have followed these instructions, and I see where Windows says "Running Shutdown Script". Am I missing something here?
Did you verify that your temp directory is in
D:\temp
? – jonsca – 2011-09-22T03:22:18.410@jonsca - That was the example, I changed the file path to my temp folder which is
C:\Documents and Settings\Lynda\Local Settings\Temp
– L84 – 2011-09-22T03:25:10.450What happens when you run the batch file manually at a prompt? – jonsca – 2011-09-22T03:29:47.373
@jonsca - I have not tried, how exactly do I run it at prompt? – L84 – 2011-09-22T03:39:10.180
Start up a
cmd
and change to whatever directory your.bat
file is in. Run it by typing the name without the.bat
. (it may work if you include the ending, but I know for sure that it works if you don't) – jonsca – 2011-09-22T03:41:13.433