Are you familiar with batchfiles?
Take the following line:
del /s *.txt
In dos that says to delete (del) all text files (*.txt) and in all subdirectories (/s).
Open notepad, drop that line into it, then if you want to get rid of all the .doc files, .jpg files and .bmp files you would have:
del /s *.doc
del /s *.jpg
del /s *.bmp
Then you would save the file as for example delete.bat
, and save it to C:\ (the top level of the drive).
There are all sorts of files which you may not consider important, but will reside within all sort of program file and system folders. They might be help files, or general appearance files. In my opinion, it's not a great way to clean your system.
However, you could make each line:
del /s/p *.txt
This would prompt you for a yes/no every file. Slightly better.
Once ready to run whatever you have, start a dos prompt, remembering to 'run as administrator' and navigate to C:\ and just type delete.bat
If you have specified the /p switch in your batchfile lines, it will start prompting. If not, it will start deleting all the files with a .doc .jpg or whatever you have specified.
There is no recycle bin in dos, so no second chance!
© Camieabz 2002-2011
All Connection Data
Scottish Labour politician: “The SNP are on a very dangerous tack. What they are doing is trying to build up a situation in Scotland where the services are manifestly better than south of the border in a number of areas.”
Interviewer: ”Is that a bad thing?”
Scottish Labour politician: “No, but they are doing it deliberately.”