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??
Changing Input Directory for mogrify in MSDOS
Re: Changing Input Directory for mogrify in MSDOS
I figure it out. In case anyone else has that question in the future, below is the typical command for MS DOS using UNC.
mogrify -path \\server\share\outputdir -format pnm \\server\share\inputdir\*.bmp
mogrify -path \\server\share\outputdir -format pnm \\server\share\inputdir\*.bmp