I'm trying run Nconvert with VBA and automate a series of commands.
Can I run something like this at once?
"C:\Program Files\XnView\nconvert\nconvert.exe" -out jpeg -resize 200 -ratio -sharpen 12 -scaling -rflag orient -rtype lanczos "C:\Program Files\XnView\nconvert\1.tif" "C:\Program Files\XnView\nconvert\2.tif"
or do I have to use run > cmd.exe > open Nconvert.exe and then type the command?
runing program and command from "RUN"
Moderators: helmut, XnTriq, xnview
I've created a bat-file using XnView with this content:
C:\Program Files\XnView\nconvert\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o C:\\%%.jpg -ratio -rtype lanczos -rflag orient -resize 200 0 -sharpen 12 "C:\Program Files\XnView\nconvert\111.tif" "C:\Program Files\XnView\nconvert\222.tif"
but nothing seems to happen when I run it.
Should I be able to run the bat just like that?
Many thanks for any help.
C:\Program Files\XnView\nconvert\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o C:\\%%.jpg -ratio -rtype lanczos -rflag orient -resize 200 0 -sharpen 12 "C:\Program Files\XnView\nconvert\111.tif" "C:\Program Files\XnView\nconvert\222.tif"
but nothing seems to happen when I run it.
Should I be able to run the bat just like that?
Many thanks for any help.
Re: runing program and command from "RUN"
Yes you canjesperfj wrote: "C:\Program Files\XnView\nconvert\nconvert.exe" -out jpeg -resize 200 -ratio -sharpen 12 -scaling -rflag orient -rtype lanczos "C:\Program Files\XnView\nconvert\1.tif" "C:\Program Files\XnView\nconvert\2.tif"
Pierre.