Results 1 to 13 of 13

Thread: Deleting files

  1. #1
    4 Star Lounger
    Join Date
    Mar 2001
    Location
    New Zealand
    Posts
    541
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Deleting files

    I read the following online recently.

    <<browse to all users’ temporary files. These are typically found within the C:\Documents and Settings\Username\Local Settings\Temp directory within Windows XP or the C:\Users\Username\App Data\Local\Temp folder within Windows Vista.
    Delete everything within the temporary folders. Many threats hide there seeking to regenerate upon system startup. >>

    When it says delete everything within the temporary folders, does that mean the .tmp files or all the files irrespective of extension and all the subfolders as well?

  2. #2
    Super Moderator Deadeye81's Avatar
    Join Date
    Dec 2009
    Location
    North Carolina, USA
    Posts
    2,654
    Thanks
    7
    Thanked 113 Times in 97 Posts
    You can navigate to the Temp folders and delete all files contained in them, regardless of file extension, or you can download and run a program such as CCleaner and/or Privacy Mantra Free here.
    Deadeye81

    "We make a living by what we get, we make a life by what we give." Sir Winston Churchill

  3. #3
    Plutonium Lounger Medico's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    12,631
    Thanks
    161
    Thanked 936 Times in 856 Posts
    Leave it to Gerald to beat me to the draw (I just got home from work). I second his recommendation on these 2 fine apps.
    BACKUP...BACKUP...BACKUP
    Have a Great Day! Ted


    Sony Vaio Laptop, 2.53 GHz Duo Core Intel CPU, 8 GB RAM, 320 GB HD
    Win 8 Pro (64 Bit), IE 10 (64 Bit)


    Complete PC Specs: By Speccy

  4. #4
    4 Star Lounger
    Join Date
    Mar 2001
    Location
    New Zealand
    Posts
    541
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I ran Ccleaner as suggested. It said it had deleted a vast number of files. But MY Computer still shows exactly the same amount of free disk space as before and the folder C:\Documents and Settings\Username\Local Settings\Temp is still full of files and subfolders.
    Last edited by philkiwi; 2011-02-09 at 20:41. Reason: typo

  5. #5
    Plutonium Lounger Medico's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    12,631
    Thanks
    161
    Thanked 936 Times in 856 Posts
    I also have a small batch file on my desktop (courtesy of Fred Langa many years ago and several Windows versions ago) that can be customized to clean temp files from any folder:

    Cleanup.bat.jpg

    You would have to change the lines to reflect the paths on your PC including the path you wish to clean up. I suspect you have not selected the right cleaning entries in CCleaner.

    I use CCleaner, Privacy Mantra and the batch file to clean my PC.
    BACKUP...BACKUP...BACKUP
    Have a Great Day! Ted


    Sony Vaio Laptop, 2.53 GHz Duo Core Intel CPU, 8 GB RAM, 320 GB HD
    Win 8 Pro (64 Bit), IE 10 (64 Bit)


    Complete PC Specs: By Speccy

  6. #6
    Lounger
    Join Date
    Dec 2009
    Location
    Lubbock, TX
    Posts
    35
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Microsoft has Disk Cleanup which will also do what you are asking about if CCleaner did not get it.
    http://windows.microsoft.com/en-US/w...g-Disk-Cleanup

    I use CCleaner too, excellent for temp files and registry.

  7. #7
    4 Star Lounger
    Join Date
    Mar 2001
    Location
    New Zealand
    Posts
    541
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have 9 entries checked in Ccleaner, including IE Temporary Internet Files and System Temporary files. I ran it again this morning and although it claimed to have removed a vast number of files my free disk space is still the same as it was two days ago. My C:\Documents and Settings\Username\Local Settings\Temp directory is still full of files and sub-directories. I fail to see whereI am going wrong.

  8. #8
    4 Star Lounger
    Join Date
    Mar 2001
    Location
    New Zealand
    Posts
    541
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have just installed Ccleaner on another PC which is networked with my other one. I have run Ccleaner and it has cleaned out my C:\Documents and Settings\Username\Local Settings\Temp folder apart from half a dozen DAT files, so why it can't do so on the first PC I tried it on is beyond me.

  9. #9
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts
    When some programs are working they sometimes store their temp files in the temp directory.
    (Not so Word, which stores it's temp files in the same directory as the doc, but with the ~ prefix.)
    Windows will usually prevent you from deleting the file if a program is currently using it.
    Perhaps there are programs (perhaps running in the background) that are currently using those files, so Windows won't let you delete those files.
    Try restarting the computer, then deleting the files.
    Or even starting in Safe mode and then deleting the files.
    A program like Sysinternals ProcessExplorer can help you find out what program has it locked.
    Peter

  10. #10
    4 Star Lounger
    Join Date
    Mar 2001
    Location
    New Zealand
    Posts
    541
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Deadeye81 said I could navigate to C:\Documents and Settings\Username\Local Settings\Temp and delete all files contained in them, regardless of file extension but did not mention the other subfolders in that folder. Is it safe to delete them also?

  11. #11
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    Quote Originally Posted by philkiwi View Post
    Deadeye81 said I could navigate to C:\Documents and Settings\Username\Local Settings\Temp and delete all files contained in them, regardless of file extension but did not mention the other subfolders in that folder. Is it safe to delete them also?
    If all programs are closed, and nothing is actively using the Temp folder, you can delete everything in it including all of the subfolders. Nothing that should be permanent is stored in there.

  12. #12
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by jscher2000 View Post
    If all programs are closed, and nothing is actively using the Temp folder, you can delete everything in it including all of the subfolders. Nothing that should be permanent is stored in there.
    I agree.

  13. #13
    Star Lounger
    Join Date
    Apr 2004
    Location
    New York / Florida
    Posts
    66
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Have you checked the tick-box status in
    Ccleaner->Options->Advanced: Only delete files in Windows Temp folders older than 24 hours?
    Easy to miss.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •