If you want a bit more power than .bat, I'd avoid vbscript and go straight to Powershell, the MS replacement for commandline & vbscript:
Download hereBuilt by ex-Unix guys, one of the few recent developments by Microsoft that's genuinely good. It can use any .NET class, too, so you get full regexing. Unlike bash, it pipes objects rather than text, so it's very flexible. I've converted all my batch scripts to PS now.
Then, of course, it's a doddle to write console apps in C#.
Example of Powershell regexing of files in directory, will return the file objects, which can then be copied/moved or queried:
$files = get-childitem "C:\blah"
foreach ($file in $files) {
if ($file -match "your_regex") {
write $file.name # echo name to console
# do other stuff with file
}
}
And in the abbreviated version that does exactly the same as the above using pipes:
gci "C:\blah" | ?{$_ -match "your_regex"} | %{$_.name}