Hi
I would like to know how to write a batch file that will delete files with extensions identified by the user, so the code will need a user input parameter capability. Anyone know of an existing n or how I should approach this?
Thanks, Dusty.
Hi
I would like to know how to write a batch file that will delete files with extensions identified by the user, so the code will need a user input parameter capability. Anyone know of an existing n or how I should approach this?
Thanks, Dusty.
If you're using WIndows, PowerShell can do this.
get-children -Filter *.whatever | delete
Not sure of the syntax here. You'll have to check it out.
You can also use del *.whatever /s from the command line.