Deleting temp files

  • Thread starter Thread starter Gordon Biggar
  • Start date Start date
G

Gordon Biggar

I recently deleted some 2,000+ files from my Windows\Temp folder. I
remember - back in my Windows 2000 days - I set up a batch file that
executed on boot-up from the Start-up folder that deleted such files. What
would the equivalent procedure be for Vista Home Premium (64-bit)? Am I
able to duplicate that former procedure? Are there other temp files that
are created that I should be aware of for deleting purposes?

If I am unable to locate that former batch file, what is the appropriate
command line for deletions?

Gordon Biggar
Houston, Texas
 
Try downloading - CCLEANER
It will delete all kinds of temp files and others.
You can also set it up to run at startup.
 
I note that the application does some registry cleaning, which procedure a
number of folks in this forum recommend strongly against. Can this be
bypassed?

GB
 
I recently deleted some 2,000+ files from my Windows\Temp folder.
I remember - back in my Windows 2000 days - I set up a batch file
that executed on boot-up from the Start-up folder that deleted
such files. What would the equivalent procedure be for Vista Home
Premium (64-bit)? Am I able to duplicate that former procedure?
Yes.

Are there other temp files that are created that I should be aware
of for deleting purposes?

Yes, lots. It's safest to use Windows' own Disk Cleanup utility:

<http://windows.microsoft.com/en-US/windows-vista/Delete-files-using-Disk-Cleanup>

Ccleaner can find more stuff you might consider expendible.

<http://www.piriform.com/ccleaner>
 
I am not familiar with the Prefetch folder. It has about 200 files in it,
all created within the last few days, but nothing older than that. Somehow,
these files must be self-deleting, or deleted on a time basis.?

GB
 
Gordon Biggar said:
I note that the application does some registry cleaning, which procedure a
number of folks in this forum recommend strongly against. Can this be
bypassed?

GB

Yes.
Camper
 
I note that the application does some registry cleaning, which procedure a
number of folks in this forum recommend strongly against. Can this be
bypassed?

GB

You can easily set the options in ccleaner to leave the registry as
is. It will clean out lots of stuff you don't really need. Be sure to
pay attention to the settings if you don't want to remove things like
MSIE history and such.
 
I recently deleted some 2,000+ files from my Windows\Temp folder.  I
remember - back in my Windows 2000 days - I set up a batch file that
executed on boot-up from the Start-up folder that deleted such files.  What
would the equivalent procedure be for Vista Home Premium (64-bit)?  Am I
able to duplicate that former procedure?  Are there other temp files that
are created that I should be aware of for deleting purposes?

If I am unable to locate that former batch file, what is the appropriate
command line for deletions?

Gordon Biggar
Houston, Texas

TRY USING CCLEANER (USED 2 BE CALLED C*** CLEANER) FROM HTTP://CCEANER.COM/
IT WORKS WITH JUST ABOUT ALL MICROSOFT OPERATING SYSTEMS (I DON'T KNOW
IF IT WORKS WITH WINDOWS 2000 AND OLDER, HOWEVER), AND IT IS AD-WARE
AND SPY-WARE FREE, JUST FYI!
 
TRY USING CCLEANER (USED 2 BE CALLED C*** CLEANER) FROM HTTP://WWW.CCLEANER.COM/
IT WORKS WITH JUST ABOUT ALL MICROSOFT OPERATING SYSTEMS (I DON'T KNOW
IF IT WORKS WITH WINDOWS 2000 AND OLDER, HOWEVER), AND IT IS AD-WARE
AND SPY-WARE FREE, JUST FYI!

CORRECTED WEBSITE LINK.
 
Does %temp% refer to any temp folder, or is this a specific
folder?

One specific folder. Type SET at a command prompt to see where it is.
You will also find a TMP variable that might point to a different
location.
 
I use ccleaner and you dont have to use the registry cleaner bit
if you dont want to, its a separate procedure.
Re deleting prefetch folders, ccleaner deletes old ones (tho not
sure how old) and Ive been told that you shouldnt delete the
recent ones.

There's really not much good reason to delete the Prefetch files unless
you are about to defrag or something. They will just be re-generated by
Windows at its first opportunity.
 
Yes, that's what I clearly said. Why did you bother to repeat it?

OTOH, I don't think I have ever seen %tmp% differ from %temp%...even on
other OSes.

Just sayin'.
 
Remarks
The GetTempPath function checks for the existence of environment variables
in the following order and uses the first path found:

The path specified by the TMP environment variable.
The path specified by the TEMP environment variable.
The path specified by the USERPROFILE environment variable.
The Windows directory.
Note that the function does not verify that the path exists.


Windows Me/98/95: If TMP and TEMP are not set to a valid path, GetTempPath
uses the current directory.
 
Remarks
The GetTempPath function checks for the existence of environment variables
in the following order and uses the first path found:

The path specified by the TMP environment variable.
The path specified by the TEMP environment variable.
The path specified by the USERPROFILE environment variable.
The Windows directory.
Note that the function does not verify that the path exists.


Windows Me/98/95: If TMP and TEMP are not set to a valid path, GetTempPath
uses the current directory.

And in which language is that function found? It seems not to be an exe
file on my computer nor a built-in command to the 'shell'....
 
Back
Top