windows - Batch Delete Files From File On Cmd Line -


I have a long list of file names in a txt file, which I

  Searchr / m "string here" *. * & Gt; C: \ files.log  

The file is about 3 MB. Now I want to delete all those files I tried Dell & lt; C: \ files.log But it does not work NT's batch supports for a loop with a special switch

For / F looks appropriate as you want because it allows input from the file and the static delimiter

.

You are looking for something Are ... for

/ F "token = *" %% a in (files.log) "DELETE" %% A "


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -