>You can't use [*g*.*] as a mask. You always will get a whole folder. try even in command prompt (old DOS) window:
>DIR *g*.*
>What you want? A file that have G somewhere in the name?
Yes, but not in the extension part. Anyway, I think I can always call this program with extension, so this problem becomes mute. But I was a bit surprised to see this behavior.
If it's not broken, fix it until it is.
My Blog