Deleting all of a certain file within a folder

If you wish to delete all of a certain file within a folder and all subfolders, simply go to Start -> Run -> “cmd.” When the command prompt appears, go to the directory that you wish to delete from and then type in “DEL /F /S [*.type]” For example, if I wanted to delete all MP3 files from my PC, I would type in “CD C:\” and then type in “DEL /F /S *.mp3″. All of the MP3 files on my C: drive would then be deleted. Note that if you do not want to delete files within subfolders, don’t type the “/S.”

Opt In Image
Free Weekly PCMech Newsletter
Almost 500 Issues So Far, Received By Thousands Every Week.

The PCMech.com weekly newsletter has been running strong for over 8 years. Sign up to get tech news, updates and exclusive content - right in your inbox. Also get (several) free gifts.

Leave a Reply

PCMech Insider Cover Images - Subscribe To Get Your Copies!
Learn More
Tech Information you can use, sent to your inbox each and every week. Check out PCMech's digital e-zine...