Page 2 of 2 FirstFirst 12
Results 16 to 29 of 29
  1. #16
    Plutonium Lounger Medico's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    12,625
    Thanks
    161
    Thanked 932 Times in 853 Posts
    BATcher, As you can see I use the /Q switch. If I'm not mistaken this is the quiet switch to allow the deletion to continue at each step without the operator having to intervine. I may be wrong

    This is a somewhat old list, unsure if it's up to date:

    MS Command-line Switches.

    I thought this might be helpful for others just beginning in this "play time".
    Last edited by Medico; 2011-08-10 at 14:58.
    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

  2. #17
    Lounger
    Join Date
    Dec 2009
    Location
    New Hampshire
    Posts
    32
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Shazam - I tried that %temp% thingie and came up with 870+MB of files. Some dating back to the beginning of the year 2010. I deleted all but the last two weeks. BUT - did an Acronis B/U prior to doing that just to be safe. Ya never know. Thanks - Lee aka The Ole Sarge
    Live Free or Die

  3. #18
    Bronze Lounger DrWho's Avatar
    Join Date
    Dec 2009
    Location
    Central Florida
    Posts
    1,232
    Thanks
    16
    Thanked 165 Times in 128 Posts

    Cool

    Yes, SAFE rather than Sorry, is always a good idea, but really....... do you really understand the meaning of "Temporary" ????

    Generally speaking, it means that the file was important to the program that created it, at the time that program was still running, not the next day, or the next month, etc. I explain that to total Nubes as yesterday's coffee grounds, or potato peels, or last weeks daily news paper. Garbage, pure garbage!

    I recently had to clean up a PC that was 8 years old and had never been cleaned up in its lifetime.
    I removed over 500,000 junk files, totaling over 2 gig's of HD space. That PC took about 20 minutes to boot up and over five minutes to shut down (if memory serves). Just wading through the junk was terribly time consuming. I ran my generic Cleanup.bat program first, and it ran for almost 15 minutes.
    I had plenty of time to get acquainted with a really neat guy, 86 years old.

    For as long as there has been such a thing as a Temporary file, I've been deleting them with never any regrets.
    Every browser, for instance, saves Temporary Internet Files in their own folders, with their own file-names.
    Most cleanup programs will only delete the T.I.F.'s from I.E. and totally ignore those from Firefox, for instance.

    I've searched and searched all over my HD for temp files created by user programs and just when I think I've found them all, Ooooops, up pops another one. Whenever I find a new hiding place for tmp files, bak files and useless log files, I add that location to my Cleanup.bat batch file program.

    But if I want to share that program with a friend, I have to go through it and customize it to reflect the actual paths on the other persons PC. The Cleanup.bat program that I share on my web page, is totally Generic and only incorporates paths that are present on most PC's. For the most part, that only includes temp files that are created by the OS.

    I've run several well known and some not so well known Cleanup programs and for the most part, they don't clean out much of the garbage that my own Cleanup.bat program cleans out.

    But I guess, each user has to use the programs that they feel comfortable with.

    Cheers Mates!
    The Doctor

    PS: just for fun:
    I did a search for *.tmp files on my C: drive and found this folder that I'd not seen before.
    It had over 50 meg's of temp files in it. So I added the following line to my cleanup.bat program.
    deltree /y "C:\Documents and Settings\All Users\Application Data\AVG10\Temp\*.*"

    Give it a try! Search your own C: drive for *.tmp and see what pops up.
    You might just be surprised, or maybe even Horrified!
    Last edited by DrWho; 2011-08-11 at 12:30.
    Experience is truly the best teacher.

    Backup! Backup! Backup! GHOST Rocks!

  4. #19
    Bronze Lounger DrWho's Avatar
    Join Date
    Dec 2009
    Location
    Central Florida
    Posts
    1,232
    Thanks
    16
    Thanked 165 Times in 128 Posts

    Cool

    Quote Originally Posted by Ted Myers View Post
    BATcher, As you can see I use the /Q switch. If I'm not mistaken this is the quiet switch to allow the deletion to continue at each step without the operator having to intervine. I may be wrong This is a somewhat old list, unsure if it's up to date: MS Command-line Switches. I thought this might be helpful for others just beginning in this "play time".
    I don't know if I'm out of time here, but on my XP machine, I just did an entry at the command prompt:
    del /? > C:\delete.txt (that sends the output of the /? switch to a text file in the root directory, from which it can then be pulled up in Wordpad and printed out for future reference.)

    And I found this information about the Del command:
    /P Prompts for confirmation before deleting each file.
    /F Force deleting of read-only files.
    /S Delete specified files from all subdirectories.
    /Q Quiet mode, do not ask if ok to delete on global wildcard
    /A Selects files to delete based on attributes
    File attributes: R= Read-only files, S= System files, H= Hidden files, A= Files ready for archiving, - Prefix meaning not


    From this a person could deduce that the /Q switch only works when you're using a wild card in the del statement. ??? Based on this info, would the /Q switch still work if a specific filename were being deleted? Just curious and still learning,

    The Doctor
    Last edited by DrWho; 2011-08-11 at 13:46.
    Experience is truly the best teacher.

    Backup! Backup! Backup! GHOST Rocks!

  5. #20
    Bronze Lounger DrWho's Avatar
    Join Date
    Dec 2009
    Location
    Central Florida
    Posts
    1,232
    Thanks
    16
    Thanked 165 Times in 128 Posts

    Cleaning out temp files

    Appologies!

    That last post ran all together and I was not able to edit and fix it.

    And, I can't post any smilies! That really sucks!

    The Doctor

    PS: After rebooting my PC, things seem to be working correctly again.
    I'll go back and see if I can repair my last post. Right now, it's a mess.
    Last edited by DrWho; 2011-08-11 at 13:42. Reason: Errors in text spacing
    Experience is truly the best teacher.

    Backup! Backup! Backup! GHOST Rocks!

  6. #21
    New Lounger
    Join Date
    Jan 2011
    Location
    St Johnsbury, VT
    Posts
    9
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hi,
    I'm a user of Norton 360. Using the Custom Scan feature I check the delete the Windows Temporary Files and Internet Explorer Temporary Files boxes. Clears them out for me.

  7. #22
    3 Star Lounger
    Join Date
    Apr 2010
    Posts
    226
    Thanks
    6
    Thanked 8 Times in 8 Posts
    Quote Originally Posted by Just Plain Fred View Post
    Pictor,
    Hello,
    I would like to add that i have been (manually deleting ) "Temp files" on all my OS's with no problems... In addition to CCleaner. If you go to C:> Users>"Your PC Name">AppData>Local>Temp... and select all files to delete. If you OS needs it ... it won't be removed ... The rest will . Regards Fred
    You can add that and any other temp file locations to Ccleaner by adding those paths to the Options/Include window. Click the Add button and fill in the path and choose the options. For this path I choose the optiona All files and Files and subfolders. This saves the manual deletion. I make a shortcut to the temp file and use it as a handy way to copy and paste the path vs. manually typing the path.

  8. #23
    New Lounger
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    THis is very simple.
    Just type "temp" on run command and after that hit the enter.

    Then select all and press delete.
    Last edited by Just Plain Fred; 2011-10-12 at 19:29.

  9. #24
    New Lounger
    Join Date
    Oct 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The cleanmgr sageset trick works for XP & Win-7. I think you have to run it manually first with the /sageset option to tell it what to clean up when you run it with the /sagerun option.

    Also, if you are worried about space and/or write-cycles on the drive, you can change the %temp% & %tmp% variables to point to a mechanical drive.

  10. #25
    Plutonium Lounger Medico's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    12,625
    Thanks
    161
    Thanked 932 Times in 853 Posts
    I use something similar in that I use a batch file on my desktop as follows:

    cleanmgr /sageset:99
    del /q /s "C:\Users\Ted\AppData\Local\Temp\*.*"
    del /q /s "C:\Windows\Temp\*.*"
    del /q /s "C:\Temp\*.*"
    cleanmgr /sagerun:99


    Obviously you would have to insert your own path names. You can add any files you wish to the batch file. I open Notepad, add whatever I want then save as Cleanup.bat to my desktop. I did find that once I ran sageset:99 once I could remove it from the batch file and it continued afterward, but I have left it just because.

    note: the original batch file is from Fred Langa back in Win 98. Thanks to Fred for the idea.
    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

  11. #26
    Super Moderator CLiNT's Avatar
    Join Date
    Dec 2009
    Location
    California & Arizona
    Posts
    5,480
    Thanks
    130
    Thanked 499 Times in 459 Posts
    Privacy Mantra (Free) by CodeOde is another alternative cleaning program that I have gotten to like recently.
    It's primary focus is on protecting personal privacy, as opposed to a powerful batch file for cleaning purposes.
    Requires a system boot in order to effect the removal of the index.dat files. I use this in conjunction with CCleaner which also does
    render the index.dat file unreadable, but it will not delete the actual file...only the contents while preserving it's filesize.


    Privacy Mantra keeps your computer clean from online and offline tracks. Most people are unaware of that every web site they have visited remains in the undeletable index.dat file, even after the Internet history and cache has been removed. Your system is also keeping information of executables you run, movies you watch and documents you open. Some of these prints can’t be deleted manually as they are locked by the system.

    Privacy Mantra will erase and wash away most privacy threats in your machine including, Internet history, cache, cookies, index.dat files, auto-complete forms, search assistant, recent documents, open/save dialogs, run files, Mozilla Firefox, Google Toolbar and more. Privacy Mantra allows the user to easily download the latest database of threats. This reliable cleaner will not only protect your privacy but also free disk space by deleting junk files. For maximum flexibility you can also create your own cleaning plugins and download others.
    Privacy Mantra is Windows NT/2000/XP/2003/Vista/7 compatible, support for 32-bit and 64-bit operating systems.

    Privacy Mantra Location Database

    How to remove index.dat files?


    I'm not affiliated with this software in any way other than I like the program and use it.

  12. #27
    Plutonium Lounger Medico's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    12,625
    Thanks
    161
    Thanked 932 Times in 853 Posts
    I should have added I use the batch file combined with CCleaner and Privacy Mantra for my cleanup needs as well.
    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

  13. #28
    Lounger
    Join Date
    Oct 2011
    Location
    Madison, WI
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Bee reading this thread since I too was seeing a lot of files show up via %temp% after i went thru the Internet/Options method of Deleting Temp Files. Win7. I am left with questions.
    1. Why did the Interet/Options method to delete all the Temp Files not delete all the files?
    2. Did it actually delete anything?
    3. I gather the whole intent is to boot and run faster.. true?
    4. Does it hurt to just leave them there?
    5. I am a hesitant to use one of the methods by prior responders. Hate to do this then find I am now having 'strange' behavior problems! Am I being overly cautious?

    Thanks for any feedback!

  14. #29
    Lounger
    Join Date
    Apr 2010
    Location
    UK
    Posts
    48
    Thanks
    14
    Thanked 1 Time in 1 Post
    I've not had a problem so far, and been dealing with them in the same way for a long time now. I just type in %temp% (Start>search programs & files) and delete anything more than two weeks old.
    I then leave them in the recycle bin for a few days to check that everything is still working OK. I've never had to put any back.

    The computer company said 7 days old should be long enough to keep, but I still only delete those over 14 days old.

Page 2 of 2 FirstFirst 12

Posting Permissions

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