tags:

views:

39

answers:

1

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.

+1  A: 

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.

No Refunds No Returns
+1 for PowerShell!
TrueWill