I Options
I Options
Important notes:
- Only lower case options are supported (don't type any UPPERCASE letters for
options) !
- Use "" for file names/paths with spaces! (example: "c:\images\dummy test
file.jpg")
- Input file name (if required) is always the first parameter (unless /file or
/filelist is used)
- Write always the FULL paths for file names (incl. drive letter)
(hint for BAT files with relative paths: use the variable "%~dp0" to get the
current path)
- You can combine several options in one command
- The commands will be processed in the order you write them
- Wildcards supported only for: /convert, /multitif, /multipdf, /panorama,
/print, /info /jpg_rotate and /extract
- Do not set any other commands after /batchscan, /scan, /capture=5 or 6, they
won't be processed
- Maximal command line length is limited to 4096 chars: use Drag&Drop, /file or
/filelist for very large lists
- Most settings are loaded from the INI file. Using prepared INIs and /ini option,
you can extend the possibilities.
- IrfanView exit code is 0. If /convert or /print is used, there is 1 or 2 also
possible, for load/save error.
- Please test (e.g. conversions) first in GUI mode => some options may need to be
set first (saved to INI file).
Example for file: (this option is nice if you need to send the input file(s) as
last parameter)
i_view32.exe /file=c:\image.jpg (same as "i_view32.exe c:\image.jpg")
i_view32.exe /convert="c:\result\*.tif" /file=c:\image1.jpg
i_view32.exe /convert="c:\result\*.tif" /file=c:\image1.jpg "c:\spacy image2.jpg"
c:\image3.jpg
i_view32.exe /thumbs /file=c:\image1.jpg "c:\spacy image2.jpg" c:\image3.jpg
Hint: you can create a special IrfanView desktop (or "Send to") shortcut which
can use the files from Drag&Drop with other options like: "i_view32.exe
[options] /file="