Wildcard support is limited for filespecs.
In the examples, you will see /*.txt but not /xx_*.txt.
See this related posting:
http://www.mjtnet.com/usergroup/viewtop ... 569b388141
The above post was written before the RegEx function was made available which would simplify the solution even more.
Another note on wildcards:
Wildcard support is also limited for windows, but in a different way, it means "contains"
//window name is "What part does wildcard match?"
//You may think this is correct
SetFocus>*part*
//But this is what works:
SetFocus>part*
You might want to see if the asterisk means "contains" for filespecs too. I don't think it does, but let us know what you find.
Gale