do you really understand the meaning of “Temporary” ?
Yes, SAFE rather than Sorry, is always a good idea, but really……. ? Based on this info, would the /Q switch still work if a specific filename were being deleted? Just curious and still learning, A Selects files to delete based on attributesįile attributes: R= Read-only files, S= System files, H= Hidden files, A= Files ready for archiving, – Prefix meaning notįrom this a person could deduce that the /Q switch only works when you’re using a wild card in the del statement.
Q Quiet mode, do not ask if ok to delete on global wildcard S Delete specified files from all subdirectories. P Prompts for confirmation before deleting each file. 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:ĭel /? > 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.)Īnd I found this information about the Del command: I thought this might be helpful for others just beginning in this “play time”. I may be wrong This is a somewhat old list, unsure if it’s up to date: MS Command-line Switches. 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. Then you can look for certain folder names like “Cache” and “temp”.īATcher, As you can see I use the /Q switch.
Clearing out temp files on a mac windows#
You can use the windows search app to find the location of files with certain extensions, like search for: My own Cleanup.bat program is almost 30 lines long. I use a short and pretty Generic cleanup batch file for my customers, but a much longer and more detailed Cleanup batch file for myself. In the shortcut, I set it to run ‘Minimized’ so they never see it on their screen.
Clearing out temp files on a mac install#
I know from years of experience that most users won’t do their maintenance even if the shortcut is right on their desktop, so I install my cleanup batch file in the root directory and then put a shortcut to it in the Startup folder, so they get a free cleanup every time the computer is booted up. Then Del won’t stop to ask me “are you sure” or some such thing. Vista and W-7 didn’t seem to want to accept the Deltree program, so I use this statement to replace it. Some junk folders are so well hidden, that you really have to look for them.īut the effort does pay off in the long run, with a cleaner and more efficient computer. * that exact path will be different on every computer Or, for deleting the Firefox Temporary Internet Filesĭeltree /y “%SystemDrive%Documents and SettingsAlexiLocal SettingsApplication faultCache*.*” (running much more efficiently)įor all the older OS’s, up through XP, I used the Deltree.exe command for deleting junk, It’s a very powerful command (DOS external command) and can take out just one file, one type of file or it can delete a whole file tree, sub-directories, etc. can go a long ways toward keeping your HD clean, lean and mean. The nice thing about using a batch file that you write yourself, (or get some help from a friend) is that you can be very specific about just what junk you delete and when you delete it.Ī simple one-liner can do a lot, but searching through your HD for places that programs store.