Wednesday, October 30, 2019

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

1 comment:

CSP on Apache

To add CSP to root if sort of funny. The following will NOT work for most cases !!     <LocationMatch "^/$">        Header s...