Deleting files specified in a text based file list

To delete a list of files specified in a text based file list, do the following:

> for /f %i in (files_to_delete.txt) do del %i

Reference:
https://superuser.com/questions/355584/how-to-delete-files-from-a-folder-using-a-list-of-file-names-in-windows

Comments

Post a Comment

Popular posts from this blog

Java encoding : UTF-8, Big5, x-MS950-HKSCS