Folders in "Windows Temp"

9

99XJ

I keep getting a "Cookies" "History" Temporary Internet Files" folders in my
Windows /Temp folder upon restart. I can't delete them it says "being used
by another program or file". I went to "Processexplor" (procexp) and it is
being used but the same processes as the ones in the Documents and
Settings/User/Local Settings/. I killed the "svchost" associated with it and
was able to delete them. Why are these folders returning to my Windows/Temp
folder every time I restart?
 
P

Patrick Keenan

99XJ said:
I keep getting a "Cookies" "History" Temporary Internet Files" folders in
my
Windows /Temp folder upon restart. I can't delete them it says "being used
by another program or file". I went to "Processexplor" (procexp) and it is
being used but the same processes as the ones in the Documents and
Settings/User/Local Settings/. I killed the "svchost" associated with it
and
was able to delete them. Why are these folders returning to my
Windows/Temp
folder every time I restart?

Because the OS checks that they are there makes them if they aren't, and it
does that because they are needed.

It has to have some place to put the temporary files it will make, and the
cookiess and IE cache files have to go somewhere - that's what the
content.ie5 folder is for. You can change the locations.

HTH
-pk
 
R

R. McCarty

Normally this content, "Temporary Internet Files" is stored in your profile
tree, in the Local Settings. It can be redirected by using Internet Options.
Sometimes if a TIF location becomes unavailable, Windows automatically
relocates it to the Temp variable folder as a fall back location.
 
9

99XJ

But read my post closer, I said it is in Both places, Windows/ temp, and
docs and settings...local settings...


Normally this content, "Temporary Internet Files" is stored in your profile
tree, in the Local Settings. It can be redirected by using Internet Options.
Sometimes if a TIF location becomes unavailable, Windows automatically
relocates it to the Temp variable folder as a fall back location.
 
T

Terry R.

The date and time was 3/13/2008 3:12 PM, and on a whim, 99XJ pounded out
I keep getting a "Cookies" "History" Temporary Internet Files" folders in my
Windows /Temp folder upon restart. I can't delete them it says "being used
by another program or file". I went to "Processexplor" (procexp) and it is
being used but the same processes as the ones in the Documents and
Settings/User/Local Settings/. I killed the "svchost" associated with it and
was able to delete them. Why are these folders returning to my Windows/Temp
folder every time I restart?

Create a batch file to clean the temp folder and place a shortcut to it
in your Startup folder. Mind you, the DEL command will not remove
subfolders created, but will remove files in the subfolders. I either
use the old Windows file DELTREE.EXE (Google it) or use
RD c:\windows\temp
MD c:\windows\temp
in the batch file to remove everything.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
9

99XJ

but they ARE in my Docs and Settings...local settings...so it doesn't need
to be in windows/temp also...


99XJ said:
I keep getting a "Cookies" "History" Temporary Internet Files" folders in
my
Windows /Temp folder upon restart. I can't delete them it says "being used
by another program or file". I went to "Processexplor" (procexp) and it is
being used but the same processes as the ones in the Documents and
Settings/User/Local Settings/. I killed the "svchost" associated with it
and
was able to delete them. Why are these folders returning to my
Windows/Temp
folder every time I restart?

Because the OS checks that they are there makes them if they aren't, and it
does that because they are needed.

It has to have some place to put the temporary files it will make, and the
cookiess and IE cache files have to go somewhere - that's what the
content.ie5 folder is for. You can change the locations.

HTH
-pk
 
9

99XJ

...."Create a batch file to clean the temp folder"...
How do I do that? also, please explain the rest in "idiots" terms LOL




The date and time was 3/13/2008 3:12 PM, and on a whim, 99XJ pounded out
I keep getting a "Cookies" "History" Temporary Internet Files" folders in
my
Windows /Temp folder upon restart. I can't delete them it says "being used
by another program or file". I went to "Processexplor" (procexp) and it is
being used but the same processes as the ones in the Documents and
Settings/User/Local Settings/. I killed the "svchost" associated with it
and
was able to delete them. Why are these folders returning to my
Windows/Temp
folder every time I restart?

Create a batch file to clean the temp folder and place a shortcut to it
in your Startup folder. Mind you, the DEL command will not remove
subfolders created, but will remove files in the subfolders. I either
use the old Windows file DELTREE.EXE (Google it) or use
RD c:\windows\temp
MD c:\windows\temp
in the batch file to remove everything.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
N

nass

This Normal, the one in your Docs is for your profile and the one in the
windows Directory is for the system, why?.
Well, say you have Three Users Profile on this machine, each one will have
the Temp created in there Profile Tree to keep tracks what they accessed on
this machine from Files/Folders and IE sessions!.
The windows Tree mainly to keep track of every thing been access or download
(unless you configured the download to the Doc&settings/ Temp).

I'm not sure what you mean by Open on Restart, does it Open on Start Up, it
shouldn't and you can remove it from the start Up list by using this tool:

You can use the AutoRuns for Windows v9.0 to remove from Startup:
http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
HTH.
nass
 
T

Terry R.

The date and time was 3/13/2008 5:24 PM, and on a whim, 99XJ pounded out
..."Create a batch file to clean the temp folder"...
How do I do that? also, please explain the rest in "idiots" terms LOL




The date and time was 3/13/2008 3:12 PM, and on a whim, 99XJ pounded out


Create a batch file to clean the temp folder and place a shortcut to it
in your Startup folder. Mind you, the DEL command will not remove
subfolders created, but will remove files in the subfolders. I either
use the old Windows file DELTREE.EXE (Google it) or use
RD c:\windows\temp
MD c:\windows\temp
in the batch file to remove everything.

To learn, do a Google search on "how to create a batch file".

In Explorer, open a folder where you want files like this (how about
c:\batch). Make sure Explorer is set to show file extensions (Tools,
Folder Options, View tab, uncheck "Hide extensions for know file types")

Right click on the right pane in Explorer and choose, New, Text
document. Name it cleantemp.bat and answer Yes to the prompt to change
the extension. Right click on the file and select Edit. Most likely
Notepad will open. Enter the following:

:: Cleans temp files
RD /s /q c:\windows\temp
MD c:\windows\temp
exit

Then save the file. Leave Explorer open. Next click Start, All
Programs, and right click on the Startup folder and select "Explore All
Users". Place the two Explorer windows side by side. Right click on the
batch file and drag it to the Startup folder and then let go of the
right button. Choose, Create Shortcuts here. Now when you reboot, the
folder will be cleaned. I usually include the User TEMP folder also,
but that wasn't your issue.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
9

99XJ

Thanks thats cool...!!!


The date and time was 3/13/2008 5:24 PM, and on a whim, 99XJ pounded out
..."Create a batch file to clean the temp folder"...
How do I do that? also, please explain the rest in "idiots" terms LOL




The date and time was 3/13/2008 3:12 PM, and on a whim, 99XJ pounded out


Create a batch file to clean the temp folder and place a shortcut to it
in your Startup folder. Mind you, the DEL command will not remove
subfolders created, but will remove files in the subfolders. I either
use the old Windows file DELTREE.EXE (Google it) or use
RD c:\windows\temp
MD c:\windows\temp
in the batch file to remove everything.

To learn, do a Google search on "how to create a batch file".

In Explorer, open a folder where you want files like this (how about
c:\batch). Make sure Explorer is set to show file extensions (Tools,
Folder Options, View tab, uncheck "Hide extensions for know file types")

Right click on the right pane in Explorer and choose, New, Text
document. Name it cleantemp.bat and answer Yes to the prompt to change
the extension. Right click on the file and select Edit. Most likely
Notepad will open. Enter the following:

:: Cleans temp files
RD /s /q c:\windows\temp
MD c:\windows\temp
exit

Then save the file. Leave Explorer open. Next click Start, All
Programs, and right click on the Startup folder and select "Explore All
Users". Place the two Explorer windows side by side. Right click on the
batch file and drag it to the Startup folder and then let go of the
right button. Choose, Create Shortcuts here. Now when you reboot, the
folder will be cleaned. I usually include the User TEMP folder also,
but that wasn't your issue.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
9

99XJ

Thanks for the info. I'm happy as long as it is "normal" (ps: I meant it is
created (folders) everytime I restart, not opened)




This Normal, the one in your Docs is for your profile and the one in the
windows Directory is for the system, why?.
Well, say you have Three Users Profile on this machine, each one will have
the Temp created in there Profile Tree to keep tracks what they accessed on
this machine from Files/Folders and IE sessions!.
The windows Tree mainly to keep track of every thing been access or download
(unless you configured the download to the Doc&settings/ Temp).

I'm not sure what you mean by Open on Restart, does it Open on Start Up, it
shouldn't and you can remove it from the start Up list by using this tool:

You can use the AutoRuns for Windows v9.0 to remove from Startup:
http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
HTH.
nass
 
T

Terry R.

The date and time was 3/17/2008 2:52 PM, and on a whim, 99XJ pounded out
Thanks thats cool...!!!



You're welcome.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 

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

Top