Page 1 of 1

Use Of Wildcards

Posted: Mon Jan 25, 2010 9:23 pm
by Lif3styl3
I have problems using a wildcard, while filtering the input files.


i would like to filter the files which has got spaces in their path.

Regarding to the Dos Syntax i need to escape the path ("my dir").

so i tried something like "c:\my dir\sdf sd"*.png, but nconvert could not find the requested files.

Re: Use Of Wildcards

Posted: Tue Jan 26, 2010 12:32 am
by xnview
Lif3styl3 wrote:so i tried something like "c:\my dir\sdf sd"*.png, but nconvert could not find the requested files.
Yes this can't be expanded correctly...

Re: Use Of Wildcards

Posted: Tue Apr 20, 2010 11:03 am
by Pavel Chysky
Nconvert.exe knows wildcards, but without quotations only, or knows quotations, but without wildcards only:
c:\mydir\sdf sd*.png - OK
"c:\my dir\sdf sd.png" - OK
"c:\my dir\sdf sd".png - OK
"c:\my dir\sdf sd*.png" - failed
"c:\my dir\sdf s"d*.png - failed

It seems the only way to workaround for spaces in path is:
CD /D "c:\my dir" (or simply CD /D c:\my dir - CD has not space as separator)
nconvert.exe -xxx sdf*.png

but nconvert.exe -xxx sdf sd*.png still failed
Any suggestion for spaces in filename?