How can I identify a file's extension in a batch file?
For example, I have 2 files, one is *.htm, the other is *.jpg. I want to delete the *.htm file — how do I identify the extension?
For example, I have 2 files, one is *.htm, the other is *.jpg. I want to delete the *.htm file — how do I identify the extension?


