Changing Input Directory for mogrify in MSDOS
Posted: 2009-03-10T08:02:14-07:00
I'm trying to figure out how to specify a different input path for the mogrify command within DOS.
I'm trying to do a batch conversion of all files that are .bmp into pnm format. The command below works good, except I don't know how to run the command without changing my current directory to where the bmp files are located.
I don't want to change my current directory. The way we plan to run this command will be from a local machine that may not have a map drive letter to the remote share where the .bmp files are located. Therefore, for us is important to have the input directory to be a UNC path.
mogrify -path outputdir -format pnm *.bmp
Any clues??
I'm trying to do a batch conversion of all files that are .bmp into pnm format. The command below works good, except I don't know how to run the command without changing my current directory to where the bmp files are located.
I don't want to change my current directory. The way we plan to run this command will be from a local machine that may not have a map drive letter to the remote share where the .bmp files are located. Therefore, for us is important to have the input directory to be a UNC path.
mogrify -path outputdir -format pnm *.bmp
Any clues??