Q: Deleting temp files?


  1. Posts : 258
    Windows Home Premium (64)
       #1

    Q: Deleting temp files?


    What is the best way to clear up the files in the folder?
    C:\Users\<<username>>\AppData\Local\Temp

    Disk Cleanup does not scan this folder, so does not select it for deletion. One app that I installed left behind its installer file (almost 2 GB) in this folder. And I don't really want to back it up every time in Acronis True Image.

    ----------
    Also, what is the best way to tidy up Windows Error Reporting files? How can I safely delete files in this folder?
    C:\Users\<<username>>\AppData\Local\Microsoft\Windows\WER\ReportQueue\
      My Computer


  2. Posts : 258
    Windows Home Premium (64)
    Thread Starter
       #2

    Oops,

    Just found this tutorial:

    Disk Cleanup : Extended
      My Computer


  3. Posts : 1,519
    El Capitan / Windows 10
       #3

    DarkStar GT said:
    What is the best way to clear up the files in the folder?
    C:\Users\<<username>>\AppData\Local\Temp

    Disk Cleanup does not scan this folder, so does not select it for deletion. One app that I installed left behind its installer file (almost 2 GB) in this folder. And I don't really want to back it up every time in Acronis True Image.

    ----------
    Also, what is the best way to tidy up Windows Error Reporting files? How can I safely delete files in this folder?
    C:\Users\<<username>>\AppData\Local\Microsoft\Windows\WER\ReportQueue\
    Disk cleanup just emptied that folder for me. To tidy WER files just click the Clean Up System files button and repeat...
      My Computer


  4. Posts : 8,398
    ultimate 64 sp1
       #4

    i suppose you could make a new library, and add the two locations to it.

    then any temp files added to either of the two folders will end up in your easy-to-find library, making them easy and quick to delete.

    while you're at it, you can add \windows\temp.

    (or have i misunderstood what you wanted to do?)

    *edit* too late - i see you have found a solution now...:)
      My Computer


  5. gvp
    Posts : 7
    Windows 7 Ultimate x64
       #5

    I use a batch file like this without elevated privileges
    change XXXX with the correct username
    =========================
    @echo off
    cls

    rem pause

    for /D %%I in ("C:\Users\XXXX\AppData\Local\Temp\*") do rmdir /s/q "%%I"
    for %%I in ("C:\Users\XXXX\AppData\Local\Temp\*") do del /s/q/f "%%I"

    for /D %%I in ("C:\Windows\Temp\*") do rmdir /s/q "%%I"
    for %%I in ("C:\Windows\Temp\*") do del /s/q/f "%%I"
    =========================
      My Computer


  6. Posts : 6,285
    Windows 10 Pro X64
       #6

    I run CCleaner, it cleans that folder (%temp% or C:\Users\XXXX\AppData\Local\Temp) just fine.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:20.
Find Us