Actions

Command Line Operations

From XnView Wiki

Revision as of 14:16, 28 August 2009 by WikiSysop (talk | contribs) (Created page with 'You may set up a custom shortcut to launch XnView, or use "Run...", for the purpose of executing XnView functions without (or in addition to) launching its normal user interface.…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You may set up a custom shortcut to launch XnView, or use "Run...", for the purpose of executing XnView functions without (or in addition to) launching its normal user interface. In this case, various switches may be used on the command line. The syntax for these commands is the program name, followed by a space and then a hyphen, followed by one or more switches, and each switch must have its specification, if applicable. For example, here is a command-line command showing proper syntax:

<path>xnview.exe -capture=desktop,c:\file.ext


Two Important Points

  • There is a space after "xnview.exe" and before the switch
  • "<path>" means that the full path/filespec must be included in the command. Normally this will be "c:\program files\xnview" and the full command would therefore be "c:\program files\xnview\xnview.exe". However, since the location of xnview.exe is under user control via the installation program, other paths are possible.