Delete the Windows Temp file in WIN XP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

While running win98 I used the following lines " @DelTree/Y C:\WINDOWS\Temp
@MD C:\WINDOWS\Temp" in the AUTOEXEC.BAT file to Delete the WINDOWS\Temp
file everytime windows started. Does anyone know of a equivalent way of
making windows XP do the same. I don't want to just delete the contents of
the file I want windows to delete the file and then create a new one
everytime windows starts.
 
Narrone said:
While running win98 I used the following lines " @DelTree/Y C:\WINDOWS\Temp
@MD C:\WINDOWS\Temp" in the AUTOEXEC.BAT file to Delete the WINDOWS\Temp
file everytime windows started. Does anyone know of a equivalent way of
making windows XP do the same. I don't want to just delete the contents of
the file I want windows to delete the file and then create a new one
everytime windows starts.

That was a very dangerous thing to do in Windows 9x, and would have
caused serious problems with any new program installs that required a
restart in order to complete the installation.

The TEMP folder in Windows XP is located under the \Documents and
Settings\(your user name)\ folder.

If you want to delete the folder on each startup then first create a
batch file to do this and then put a shortcut to run this batch file
into your Startup group.

Note that this is also the procedure that you should have used with
Windows 98 in order to avoid complications with new program installs
and updates.

Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

"The reason computer chips are so small is computers don't eat much."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top