I'm trying to run the for command at the command prompt to delete all my files that have the text "< cd_comiss>P< /cd_comiss>"
, assigning them to a %%e
variable, but it returns me that %e
was unexpected at this point. Could someone help me?
Note: I'm navigating to the folder I want to then run the command.
for /f %%e in ('findstr "<cd_comiss>P</cd_comiss>" *.*') do del %%e