Convert Many Multipage DCX files to TIF
Moderators: helmut, XnTriq, xnview
Convert Many Multipage DCX files to TIF
Hi, I'm new to using this program and even after searching this forum can't find out how to convert a directory full of multipage DCX files to multipage TIF files while keeping the output filename the same as the source filename, e.g. 1998-10.DCX to 1998-10.TIF
I placed nconvert into the directory of files I'm needing to convert and then in the cmd window in that directory, I'm typing:
nconvert -v -in -1 -xall -multi -out tiff -o *.tif *.dcx
This gives me an Error: Can't create file (*.tif)
What does the command line need to look like for this to work?
Thanks.
I placed nconvert into the directory of files I'm needing to convert and then in the cmd window in that directory, I'm typing:
nconvert -v -in -1 -xall -multi -out tiff -o *.tif *.dcx
This gives me an Error: Can't create file (*.tif)
What does the command line need to look like for this to work?
Thanks.
Re: Convert Many Multipage DCX files to TIF
nconvert -v -in -1 -xall -multi -out tiff -o $.tif *.dcx
Pierre.
Re: Convert Many Multipage DCX files to TIF
Thanks for the quick response Pierre.
I tried your suggestion and it created only one TIF file that had all the DCX files combined into it. The TIF file also had a blank file name.
I would rather have it create one TIF file for each DCX file so that the filenames would be the same, but with the proper file extension.
I'm not sure this matters for executing the command line function, but I'm using Windows Vista Home Premium SP2 64-bit
Thanks!
I tried your suggestion and it created only one TIF file that had all the DCX files combined into it. The TIF file also had a blank file name.
I would rather have it create one TIF file for each DCX file so that the filenames would be the same, but with the proper file extension.
I'm not sure this matters for executing the command line function, but I'm using Windows Vista Home Premium SP2 64-bit
Thanks!
Re: Convert Many Multipage DCX files to TIF
Try
Code: Select all
nconvert -v -in -1 -out tiff -o $.tif *.dcx
Pierre.
Re: Convert Many Multipage DCX files to TIF
Thanks again. But I'm obviously missing something. Once I saw that you put the same command line in a different format, I assumed that you were wanting the command line in some type of batch or script file.
I searched the forum for more information and couldn't come up with anything useful. I then tried adding the command line to a .bat file as well as a .vbs file. I tried both with and without the code: select all statement and none of them worked.
Sorry, but what am I doing wrong?
I searched the forum for more information and couldn't come up with anything useful. I then tried adding the command line to a .bat file as well as a .vbs file. I tried both with and without the code: select all statement and none of them worked.
Sorry, but what am I doing wrong?
Re: Convert Many Multipage DCX files to TIF
What's happened with:
nconvert -v -in -1 -out tiff -o $.tif *.dcx
nconvert -v -in -1 -out tiff -o $.tif *.dcx
Pierre.
Re: Convert Many Multipage DCX files to TIF
Oh right sorry.
When I tried these parameters both in a command line and in a .bat file, it shows that it coverts all of the DCX files to TIF, but it creates one TIF output file with a blank name again. The difference with this output TIF file though from our earlier command parameters is that it only has the first page of the last file it converted.
Trying it as a .VBS gave me a MS VBScript compilation error: Syntax error.
When I tried these parameters both in a command line and in a .bat file, it shows that it coverts all of the DCX files to TIF, but it creates one TIF output file with a blank name again. The difference with this output TIF file though from our earlier command parameters is that it only has the first page of the last file it converted.
Trying it as a .VBS gave me a MS VBScript compilation error: Syntax error.
Re: Convert Many Multipage DCX files to TIF
Sorry but i don't understand, the command line works?
Pierre.
Re: Convert Many Multipage DCX files to TIF
No, sorry this command line didn't accomplish the task at hand either.
I'm wanting to have nconvert convert every multipage DCX file in the directory to a an equivalent multipage TIF file that has the same file name (with the proper extension). So if I have 100 unique DCX files in a directory, I am trying to find the right way to enter the command so that I'll end up in the end with an additional 100 identically named TIF files in the directory - leaving 200 files then in the directory.
As an example, nconvert would run in the directory and convert: P-99-01-21.DCX into P-99-01-21.TIF and continue until all DCX had an equivalent TIF file in the directory as well. Once I spot check that the files converted appropriately, I would then delete the original DCX files.
I'm wanting to have nconvert convert every multipage DCX file in the directory to a an equivalent multipage TIF file that has the same file name (with the proper extension). So if I have 100 unique DCX files in a directory, I am trying to find the right way to enter the command so that I'll end up in the end with an additional 100 identically named TIF files in the directory - leaving 200 files then in the directory.
As an example, nconvert would run in the directory and convert: P-99-01-21.DCX into P-99-01-21.TIF and continue until all DCX had an equivalent TIF file in the directory as well. Once I spot check that the files converted appropriately, I would then delete the original DCX files.
Re: Convert Many Multipage DCX files to TIF
Ok, it's a limitation. You must use a for sequence and use:
nconvert -v -xall -multi -out tiff -o file.tif file.dcx
nconvert -v -xall -multi -out tiff -o file.tif file.dcx
Pierre.
Re: Convert Many Multipage DCX files to TIF
O.K. Pierre. Thanks for the help.