Command line parameters - Printable Version +- ScanCircle (https://www.scancircle.com/forum) +-- Forum: Reference (https://www.scancircle.com/forum/forumdisplay.php?fid=3) +--- Forum: Scan program (https://www.scancircle.com/forum/forumdisplay.php?fid=10) +--- Thread: Command line parameters (/showthread.php?tid=72) |
Command line parameters - arnoud - 29-06-2012 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): 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). RE: Command line parameters - arnoud - 03-02-2013 In release 1.14 the parameters -manual and -autorun are replaced by -scanmode M resp D, but will be supported for a while longer. RE: Command line parameters - arnoud - 26-02-2018 In release 1.42, the -skip option is added (mainly to skip the UAC check for scans run by the System user). RE: Command line parameters - arnoud - 17-06-2020 In release 1.99 the Windows 10 app is added. RE: Command line parameters - arnoud - 02-07-2020 In release 2.0, the -output parameter is added (because standard output does not work with the ScanCircle app) RE: Command line parameters - automatex - 17-01-2024 I'd like to create a powershell script that will check if the ScanCircle app is installed. If not get it from the Windows store. If it is installed, see if there is an update before running ScanCircle. In this, I have trouble finding the ScanCicle appx package name to do this as it seems "ScanCirle" is not doing it. Also search in in Get-AppxPackage did not bring ScanCircle. Can you provide this? RE: Command line parameters - arnoud - 18-01-2024 We have had contact by email and it seems that "scancircle" (lowercase) is the correct package name. The version number could not yet be retrieved, but is shown in the Microsoft Store UI. If the script is finished, automatex will share it here. BTW, in ScanCircle release 2.8, the version number of the scan program is still 2.7.0.0 as it has not changed. |