29-06-2012, 22:22
(This post was last modified: 02-01-2024, 22:45 by arnoud.
Edit Reason: Added Windows 10 app info, output parameter and app link
)
The following optional command line parameters are supported:
The resulting advice URL is echoed to standard output (only visible if standard output is redirected) or to the specified output file path.
There are 2 versions of the portable scan program: .NET Framework 4 version (default for Windows 8+) or .NET Framework 2 version (default for older Windows versions). Please note that if you plan to run this on the client's computer, you need a way to update the scan program when a new version becomes available. Example (PARTNER = partner code, REF = reference code, LL = language code):
Otherwise use the ScanCircle app if installed. The carrot (^) is to escape the ampersand (&), otherwise it would be interpreted as a separator for multiple commands:
*** The following option does not yet work correctly in all situations ***
If you are not sure if the ScanCircle app is installed, you can use the following link (e.g. in emails to your customers), which will run the ScanCircle app if installed or redirect the user to your own scan page or the scan page in your ScanCircle partner environment (the language code and reference code are optional, other parameters are not supported, if your own scan page uses a URL parameter for the input field, it must be named "reference"):
Also see this post about passing parameters in the scan program file name (used when downloading in browsers).
- -partner <partnercode> (default is none or for ScanCircle app: previously selected partner)
- -reference <refcode>
- -language <langcode> (2-character language as supported by the ScanCircle website, e.g. en/nl/de/fr/es/it/pl/ee, default is current system setting or for ScanCircle app: previously selected language)
- -scanmode D|A|M|P (direct, automatic, manual, partner, default=A, direct is same as automatic but starts automatically so user doe not need to hit the Start button)
- -hidden (only performs the scan, no user interface)
- -nocopy (does not send a notification to the partner)
- -skip <nodes> (skip the indicated XML nodes, separated by semi-colons, join nodes below 'scan' using a period): intended and supported for security.status.uac (but may work with other nodes)
- -save [<path>] (save the scan file, if <path> is a directory or missing, the file name is <computername>-<volumeid>.xml in the specified or current directory)
- -output <path> (write the advice URL or error message to the specified file path)
The resulting advice URL is echoed to standard output (only visible if standard output is redirected) or to the specified output file path.
There are 2 versions of the portable scan program: .NET Framework 4 version (default for Windows 8+) or .NET Framework 2 version (default for older Windows versions). Please note that if you plan to run this on the client's computer, you need a way to update the scan program when a new version becomes available. Example (PARTNER = partner code, REF = reference code, LL = language code):
ScanCircle4.exe -partner PARTNER -reference REF -language LL -hidden -output %temp%\scancircle.txt
Otherwise use the ScanCircle app if installed. The carrot (^) is to escape the ampersand (&), otherwise it would be interpreted as a separator for multiple commands:
start scancircle://?partner=PARTNER^&reference=REF^&language=LL^&hidden^&output=%temp%\scancircle.txt
*** The following option does not yet work correctly in all situations ***
If you are not sure if the ScanCircle app is installed, you can use the following link (e.g. in emails to your customers), which will run the ScanCircle app if installed or redirect the user to your own scan page or the scan page in your ScanCircle partner environment (the language code and reference code are optional, other parameters are not supported, if your own scan page uses a URL parameter for the input field, it must be named "reference"):
Also see this post about passing parameters in the scan program file name (used when downloading in browsers).