Re: Catgod pretender viewer now for Windows!
Ok, it's looking to me like Windohs params just won't mix quotes with wildcards...
I tried hard-coding:
"C:\Program Files\dominions3\savedgames\newlords\*.2h"
and the file system method doesn't like that parameter in Windohs. Which means it's not necessarily failing just at the command-line level - it looks to like it's both, which is lame.
That is, Windohs does the wildcard expansion on the parameter passing, but not if it's in quotes. It doesn't do it at the file-open level after getting the parameter, which basically means, as far as my sleepy mind can see at the moment, that it's not going to help. Either the calling (Arralen's) program would need to do it, or I'd need to write such a parser myself, including a file system crawler. It would be nice if an escape character could stand in for the space as the parameter is being passed in, but I haven't seen that work from the command-line so far.
Grumble. Time for sleep.
|