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.
Use Of Wildcards
Moderators: helmut, XnTriq, xnview
Re: Use Of Wildcards
Yes this can't be expanded correctly...Lif3styl3 wrote:so i tried something like "c:\my dir\sdf sd"*.png, but nconvert could not find the requested files.
Pierre.
-
- Posts: 1
- Joined: Tue Apr 20, 2010 10:37 am
Re: Use Of Wildcards
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?
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?