Trouble with long (unicode) paths...
Posted: Sun Feb 24, 2008 1:52 pm
Hello Pierre!
There is a problem with long unicode paths... Usually i'm using nconvert with filelist and it's ok, but if i try to implement the launch (with bat-file):
nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_1_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11570.JPG"
nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_2_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11571.JPG"
nconvert -crop 32 0 512 768 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_3_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11577.JPG"
nconvert -crop 32 0 512 768 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_4_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11611.JPG"
nconvert -crop 0 43 1024 682 -ratio -dpi 300 -rtype quick -resize 1795 1205 -truecolors -o ..\imready\24.02.08\OR08022414\imr_5_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\МЫ207-~1.JPG"
nconvert -crop 0 43 1024 682 -ratio -dpi 300 -rtype quick -resize 1795 1205 -truecolors -o ..\imready\24.02.08\OR08022414\imr_6_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\25-07-~1\SNC11565.JPG"
nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_7_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\25-07-~1\SNC11569.JPG"
It's working, but the 5-th line don't working:(
I see "Error: Couldn't open file j:\img\for_Nata\ж-207-~1.JPG". I thought that problem with long names therefore i use shortfilenames and double quotes for paths, but apparently trouble only with unicode (cyrillic) symbols in path! I am right?
I can't using the filelist:( there are many different settings for each file. What can I do in this case ?
There is a problem with long unicode paths... Usually i'm using nconvert with filelist and it's ok, but if i try to implement the launch (with bat-file):
nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_1_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11570.JPG"
nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_2_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11571.JPG"
nconvert -crop 32 0 512 768 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_3_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11577.JPG"
nconvert -crop 32 0 512 768 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_4_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11611.JPG"
nconvert -crop 0 43 1024 682 -ratio -dpi 300 -rtype quick -resize 1795 1205 -truecolors -o ..\imready\24.02.08\OR08022414\imr_5_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\МЫ207-~1.JPG"
nconvert -crop 0 43 1024 682 -ratio -dpi 300 -rtype quick -resize 1795 1205 -truecolors -o ..\imready\24.02.08\OR08022414\imr_6_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\25-07-~1\SNC11565.JPG"
nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_7_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\25-07-~1\SNC11569.JPG"
It's working, but the 5-th line don't working:(
I see "Error: Couldn't open file j:\img\for_Nata\ж-207-~1.JPG". I thought that problem with long names therefore i use shortfilenames and double quotes for paths, but apparently trouble only with unicode (cyrillic) symbols in path! I am right?
I can't using the filelist:( there are many different settings for each file. What can I do in this case ?