Quantcast
Channel: XnView Software
Viewing all articles
Browse latest Browse all 4990

How to enter the specified directory?

$
0
0
by cday (Posted Mon Nov 14, 2016 7:54 am)
Here is a simple example that rotates images in the Input folder and places the output files in the Output folder:

Code: Select all
nconvert -rotate 90 -out jpeg -q 80 -o "C:\X\Output\%%.jpg" C:\X\Input\*.jpg


The '%' in the code is doubled as I ran the code in a Windows batch file.

Note also that quotes can't be used together with wildcards around the input term, but from memory input filenames may have spaces but not the input file paths.

Read Main Topic

Viewing all articles
Browse latest Browse all 4990