I assume you are participating in / MS -Dos command line batch files here?
If you later, unfortunately, answer NO, the only wildcards that support plain old batch files are:
* = match all
and? = Match 1
So:
mytune*.mp?
will match:
mytune01.mp3, mytune01.mpg, mytune-the-best.mpe
However, there is an alternative ...
If you are using a modern version of Windows, then most likely you will have Power-shell installed, click
start-> run, then type power-shell and press return, if you get what looks like a command prompt window open, then you installed it. If then, look at the MS website for download.
Once you do this, if you want to dive right in, you can find everything you need in Reg-ex, here's the PS:
http://powershell.com/cs/blogs/ebook/archive/2009/03/30/chapter-13-text-and-regular-expressions.aspx
I would suggest spending an hour or so learning the basics.
source share