• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

My Monkey Do

A Log of Coding Solutions

  • Home
  • Web Hosts
  • Tools
  • About

ms-dos

Recursivley delete a specific file in windows

December 13, 2011 by Webhead

Problem

I had WS_FTP.log in almost all my folders. I didn’t want them anymore so I needed a way to easily recursively delete the file from all my sub directories.

Solution

Open the dos prompt (cmd). navigate to the directory that you want to remove the files in. Run the following command to get rid of any file ending in .tmp
del /s *.tmp

Be careful with using this. It will delete all files that you specify under the directory you are located in.

source: http://www.tech-recipes.com/rx/184/recursively-delete-files-in-windows/

Filed Under: Coding Tagged With: ms-dos

Primary Sidebar

Topics

apache apple block editor chrome cms css debug eCommerce embed firebug firefox git gmail goDaddy google hosting htaccess html html 5 IE crap image iPad iPhone javascript jquery linux localization mac os x ms sql mysql open source optimize php php 5.3 responsive rest api seo svg tinymce woocommerce wordpress wpengine xss yii youtube




Categories

  • Coding
  • Off the Shelf
  • Plugins
  • Random Thoughts
  • Server Stuff
  • Tools