Temp files

D

Dr. Dos

documents and settings\xxxx\local settings\temp

Is there any way to have these automatically deleted?

On a daily basis I wipe out the clutter manually and would
like these them cleared on their own. I understand that
several are required for that particular boot session (mine
start with ~DFxxxxx.tmp), but these also remain when they
are no longer needed. Lots of other tmp files and
directories magically appear and never go away until I
delete them.
 
D

db

hello dr. dos,

drdos brings back
memories....

i'm wondering if you
haven't considered simply making
a batch file to delete
those particular files
from that particular
directory.

if i'm not mistaken, you
can launch the bat file
via a desktop shortcut or
run via msconfig or as
a scheduled task.

- db
documents and settings\xxxx\local settings\temp

Is there any way to have these automatically deleted?

On a daily basis I wipe out the clutter manually and would
like these them cleared on their own. I understand that
several are required for that particular boot session (mine
start with ~DFxxxxx.tmp), but these also remain when they
are no longer needed. Lots of other tmp files and
directories magically appear and never go away until I
delete them.
 
D

Dr. Dos

db said:
*hello dr. dos,*
**
*drdos brings back*
*memories....*
**
*i'm wondering if you*
*haven't considered simply making*
*a batch file to delete*
*those particular files*
*from that particular *
*directory.*
**
*if i'm not mistaken, you*
*can launch the bat file*
*via a desktop shortcut or*
*run via msconfig or as*
*a scheduled task.*
**
*- db*

message documents and settings\xxxx\local settings\temp

Is there any way to have these automatically deleted?

On a daily basis I wipe out the clutter manually and would
like these them cleared on their own. I understand that
several are required for that particular boot session (mine
start with ~DFxxxxx.tmp), but these also remain when they
are no longer needed. Lots of other tmp files and
directories magically appear and never go away until I
delete them.
No, have not thought about that.
Problem with doing it that way multi-fold I predict:
In the temp directory are sub-directories, but not always
the same ones and not always known directories. So, a batch
file would have to delete the content of the sub-directories
first, and then the directories themselves. A missing
directory will produce a "file not found" halt. A new or
unknown sub-directory will escape extinction.
For those files that end in .tmp, at least two of them are
active system files. These active files have randomly
assigned names. Unfortunately for me, other of these
(expired) files ~Dxxxxxx.tmp, also clutter from previous
sessions. There is no way to split out present from past
*.tmp (unless I can building a batch file that takes note of
date stamp and that won't work because of multiple daily
routine reboots.)

So. I am still looking for a clean-up tool for the temp
sub-directory, or a setting in windows that performs the
cleanup.

Ah yes DR Dos, the non-Microsoft/non-IBM disk operating
system alternative. I think the DR stood for Digital
Research. The last version was DR Dos 7. Novell bought it
about the same time it bought WordPerfect. DR Dos is still
alive and living in Utah. WordPerfect is still alive and
living in Canada. And Novell is still alive and living in
Massachusetts. So much for geography.
 
T

Terry

*hello dr. dos,*
**
*drdos brings back*
*memories....*
**
*i'm wondering if you*
*haven't considered simply making*
*a batch file to delete*
*those particular files*
*from that particular *
*directory.*
**
*if i'm not mistaken, you*
*can launch the bat file*
*via a desktop shortcut or*
*run via msconfig or as*
*a scheduled task.*
**
*- db*

message documents and settings\xxxx\local settings\temp

Is there any way to have these automatically deleted?

On a daily basis I wipe out the clutter manually and would
like these them cleared on their own. I understand that
several are required for that particular boot session (mine
start with ~DFxxxxx.tmp), but these also remain when they
are no longer needed. Lots of other tmp files and
directories magically appear and never go away until I
delete them.
No, have not thought about that.
Problem with doing it that way multi-fold I predict:
In the temp directory are sub-directories, but not always
the same ones and not always known directories. So, a batch
file would have to delete the content of the sub-directories
first, and then the directories themselves. A missing
directory will produce a "file not found" halt. A new or
unknown sub-directory will escape extinction.
For those files that end in .tmp, at least two of them are
active system files. These active files have randomly
assigned names. Unfortunately for me, other of these
(expired) files ~Dxxxxxx.tmp, also clutter from previous
sessions. There is no way to split out present from past
*.tmp (unless I can building a batch file that takes note of
date stamp and that won't work because of multiple daily
routine reboots.)

So. I am still looking for a clean-up tool for the temp
sub-directory, or a setting in windows that performs the
cleanup.

Ah yes DR Dos, the non-Microsoft/non-IBM disk operating
system alternative. I think the DR stood for Digital
Research. The last version was DR Dos 7. Novell bought it
about the same time it bought WordPerfect. DR Dos is still
alive and living in Utah. WordPerfect is still alive and
living in Canada. And Novell is still alive and living in
Massachusetts. So much for geography.[/QUOTE]

I always change the temp locations to a folder right off the root ie:
c:\temp (right click on My Computer, select Properties, Advanced tab,
Environment Variables button, Edit both TEMP & TMP for User and System)

Do a Google search for Deltree.exe, used in Win9x versions. It works
fine in W2K/XP. Create a batch file and add the line:
path\deltree.exe /y c:\temp\
where path is the location of deltree.exe. Put a shortcut to the batch
file in your Startup folder and it will clean your temp folder on
startup (after any install/update processes have run).

I've used the DEL command but it won't delete sub folders, only the data
in the sub folders. i.e.:
del /s /q %temp%\*.*

I've seen others delete the temp folder and re-create it in a batch
file, but I prefer deltree.
rd c:\temp
md c:\temp

Hope this helps,

--
Terry

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

db

The other responses' by Terry is a reasonable one. Creating a temp directory directly on the root drive is easy and convenient. As mentioned, it can be modified via the control panel. I also set the internet temp folder to that directory as well. It should be remembered that anything that goes into the temp folder is expendable including sub directories. On occasion, a program might set up house inside a temp directory. But the user must take the extra step of setting up these programs into the program folders accordingly.

There are a number of ways to remove temp files and software like system mechanic utilizes a variety of criterion to remove them and other useless files that are identified as temp. They are referred to as trash files. However, in regards to the temp files, you might find it convenient to use the search assistant of explorer to search globally and list them. You can then mass delete them. Further you can save the search criterion as a shortcut and engage it at will from the desktop....

I cleaned out my computer cabinet last year, and I tossed out all the 5" floppies including my DrDos. It was a bit regretful but I really could not find a place for them anywhere else. I vaguely remember now, but I recall that gentlemen that explored and published technical works on DrDos. Devorak I think the name is.

- db
Dr. Dos said:
*hello dr. dos,*
**
*drdos brings back*
*memories....*
**
*i'm wondering if you*
*haven't considered simply making*
*a batch file to delete*
*those particular files*
*from that particular *
*directory.*
**
*if i'm not mistaken, you*
*can launch the bat file*
*via a desktop shortcut or*
*run via msconfig or as*
*a scheduled task.*
**
*- db*

message documents and settings\xxxx\local settings\temp

Is there any way to have these automatically deleted?

On a daily basis I wipe out the clutter manually and would
like these them cleared on their own. I understand that
several are required for that particular boot session (mine
start with ~DFxxxxx.tmp), but these also remain when they
are no longer needed. Lots of other tmp files and
directories magically appear and never go away until I
delete them.
No, have not thought about that.
Problem with doing it that way multi-fold I predict:
In the temp directory are sub-directories, but not always
the same ones and not always known directories. So, a batch
file would have to delete the content of the sub-directories
first, and then the directories themselves. A missing
directory will produce a "file not found" halt. A new or
unknown sub-directory will escape extinction.
For those files that end in .tmp, at least two of them are
active system files. These active files have randomly
assigned names. Unfortunately for me, other of these
(expired) files ~Dxxxxxx.tmp, also clutter from previous
sessions. There is no way to split out present from past
*.tmp (unless I can building a batch file that takes note of
date stamp and that won't work because of multiple daily
routine reboots.)

So. I am still looking for a clean-up tool for the temp
sub-directory, or a setting in windows that performs the
cleanup.

Ah yes DR Dos, the non-Microsoft/non-IBM disk operating
system alternative. I think the DR stood for Digital
Research. The last version was DR Dos 7. Novell bought it
about the same time it bought WordPerfect. DR Dos is still
alive and living in Utah. WordPerfect is still alive and
living in Canada. And Novell is still alive and living in
Massachusetts. So much for geography.
 
D

Dr. Dos

db said:
The other responses' by Terry is a reasonable one. Creating a temp
directory directly on the root drive is easy and convenient. As
mentioned, it can be modified via the control panel. I also set the
internet temp folder to that directory as well. It should be remembered
that anything that goes into the temp folder is expendable including sub
directories. On occasion, a program might set up house inside a temp
directory. But the user must take the extra step of setting up these
programs into the program folders accordingly.

There are a number of ways to remove temp files and software like system
mechanic utilizes a variety of criterion to remove them and other
useless files that are identified as temp. They are referred to as
trash files. However, in regards to the temp files, you might find it
convenient to use the search assistant of explorer to search globally
and list them. You can then mass delete them. Further you can save the
search criterion as a shortcut and engage it at will from the desktop....


When I have some time, I will explore this. In Win98SE I
created a special temp sd, but the same issues about having
to empty the files out of the subdirectories, new
sub-directories, and missing expected sds and specific files
still made the process clumsy.

As a lazy person, I am going to try nightowl's suggestion to
use EmpTemp.
I will report back.
 
T

Terry

I like the small free utility EmpTemp:
http://www.danish-shareware.dk/soft/emptemp/
OK.
Tried EmpTemp.
It works.
Just what I wanted.
I like it.
Thank you.[/QUOTE]

Funny...seems like my answers would have been more to your liking Dr.
Dos. ;-) Guess you'll have to change to Dr. Gui <g>

--
Terry

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

Ed.

Dr. Dos said:
OK.
Tried EmpTemp.
It works.
Just what I wanted.
I like it.
Thank you.

Does it work with the temp Internet files and Cookies in IE 7.0 ? I see at
the link it says it requires IE 5+ but that may have been written before IE
7.0.

Thanks,
Ed.
 
U

User Friendly

Terry said:
OK.
Tried EmpTemp.
It works.
Just what I wanted.
I like it.
Thank you.

Funny...seems like my answers would have been more to your liking Dr.
Dos. ;-) Guess you'll have to change to Dr. Gui <g>
[/QUOTE]
um.
Dr. Lazy is more like it.
I was looking for the "elegant" solution. To me,these days,
it is to benefit from another's experimentation, with
minimal effort on my part.
 
U

User Friendly

Ed. said:
Does it work with the temp Internet files and Cookies in IE 7.0 ? I see at
the link it says it requires IE 5+ but that may have been written before IE
7.0.

Thanks,
Ed.
Don't know.
I have EmpTemp set up only for \temp\ files.
My need has nothing to do with IE, but with the XP operating
system
I run HistoryKill to get rid of that other stuff.
I suggest you download EmpTemp and see for yourself what it
does and what options are available.
I am running IE6, because IE7 PROVED itself to be unstable
on several of my computers.
e.
 
E

Ed.

User Friendly said:
Don't know.
I have EmpTemp set up only for \temp\ files.
My need has nothing to do with IE, but with the XP operating system
I run HistoryKill to get rid of that other stuff.
I suggest you download EmpTemp and see for yourself what it does and what
options are available.
I am running IE6, because IE7 PROVED itself to be unstable on several of
my computers.
e.

OK, thank you for the reply and I will give it a try and see.
 

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