Using Nconvert from .bat file?

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
Guest

Using Nconvert from .bat file?

Post by Guest » Fri Apr 23, 2004 9:57 am

Hello,

I'm trying to run a .bat file from a webpage. In my .bat file i have the following line:

nconvert -out gif -colors 256 -o d:\wwwroot\gif\ "d:\wwwroot\tiff\test1.tif"

what i'm trying to do is convert the test1.tif to a .gif file but i'm getting this error:

Error: Can't create file (D:\Udvikling\Conset\Gif\test1.tif)

What am I doing wrong ?

/Martin

Guest

I found the solution :o)

Post by Guest » Fri Apr 23, 2004 10:50 am

Hello,

By changing the line to :

nconvert -o d:\wwwroot\gif\test1.gif -out gif -colors 256 d:\wwwroot\tiff\test1.tif

Every thing just works fine :o

/Martin

Post Reply