What happens if you enclose the file paths in double quotes? Like this:

oiiotool.exe 
"C:\Users\tcable\Desktop\0900_HMKO.0705\0900_HMKO-0705_comp_UHD_v032.#.exr" -o 
"C:\Users\tcable\Desktop\dest\testout.#.tif"

Or, what if you use (sorry, just to explore this as a potential problem) 
forward slashes?

oiiotool.exe 
"C:/Users/tcable/Desktop/0900_HMKO.0705/0900_HMKO-0705_comp_UHD_v032.#.exr" -o 
"C:/Users/tcable/Desktop/dest/testout.#.tif"

If neither of those give us a clue, then maybe try

oiiotool.exe 
C:\Users\tcable\Desktop\0900_HMKO.0705\0900_HMKO-0705_comp_UHD_v032.#.exr -o 
C:\Users\tcable\Desktop\dest\testout.#.tif badarg

Forcing an error like that ought to print what it thinks the command line was. 
I'm curious to see what it says, whether the '#' characters are being mangled 
somehow by the Windows command shell.



> On Nov 4, 2020, at 9:12 AM, Trevor Cable <[email protected]> wrote:
> 
> Windows 10
> oiiotool.exe. Version 2.1.16
> vcpkg install
> 
> I found a post about this going back to 2013 but I have not read about this 
> issue anywhere else. If I use oiiotool.exe with a basic image convert it 
> works fine:  oiiotool.exe 
> C:\Users\tcable\Desktop\0900_HMKO.0705\0900_HMKO-0705_comp_UHD_v032.0000.exr 
> -o C:\Users\tcable\Desktop\dest\testout.0000.tif
> 
> If I try using # or %04d I get an error "oiiotool ERROR : No filenames found 
> matching pattern: 
> "C:\Users\tcable\Desktop\0900_HMKO.0705\0900_HMKO-0705_comp_UHD_v032.#.exr" 
> (did you intend to use --wildcardoff?)"
> 
> Here is the input:
> oiiotool.exe 
> C:\Users\tcable\Desktop\0900_HMKO.0705\0900_HMKO-0705_comp_UHD_v032.#.exr -o 
> C:\Users\tcable\Desktop\dest\testout.#.tif
> 
> This is working fine on OSX and I've used this a lot with Linux.  I've tried 
> using it with --wildcardon and off.  I have tried with every combo of single 
> and double quotes as well as Windows double slash paths but again a single 
> file convert works fine. 
> 
> Curious if anyone has any ideas. 
> Thank you.
> -Cable
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
> 

--
Larry Gritz
[email protected]




_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to