knightwareKnightware StoreSite SearchAbout the CompanyKnightware Home

Translate





Using Command Line Parameters

SQM Reader Pro 3 currently supports three command line parameters. The parameters and their usages are:

Sqmpro3.exe [option]

Option Description
-autostart

Starts reading upon program start up using the configuration saved from the previous session. If the program is configured to read continuously, this feature can be used in combination with the Windows Startup folder feature to begin meter reading when the computer is rebooted.

Autostart at Boot Example

  1. Create a shortcut for SQM Reader Pro 3 in your Windows Startup folder. Make sure that you create the shortcut in the Startup folder for the user account under which the software wil be run.
  2. In the shortcut's properties, set Target on the Shortcut tab to: <path to program> -autostart
    <path to program> depends on how you installed. For example, when installing for single user , the path is like "C:\Users\<user account>\AppData\Local\Knightware\SQM Reader Pro 3\Sqmpro3.exe"

You can run SQM Reader Pro 3 as usual using the Windows Start menu entry or a desktop shortcut; the shortcut created in the Windows Startup folder is used only at boot up.

-ini

SQM Reader Pro stores its configuration settings in sqmreader.ini by default. The file is located on the Application Data path for the product 1.

You can specify an alternate configuration file by using the -ini command line parameter. For example, you can specify the configuration file mysqm.ini on the root folder of your C: drive by using the following command line parameter:

-ini="C:\mysqm.ini"

-pwd

SQM Reader Pro stores its encrypted FTP password in sqmreader.pwd by default. The file is located on the Application Data path for the product 1.

You can specify an alternate password file by using the -pwd command line parameter. For example, you can specify the password file mysqm.pwd on the root folder of your C: drive by using the following command line parameter:

-pwd="C:\mysqm.pwd"

-skyglow

SQM Reader Pro stores its Skyglow storage configuration settings in skyglow.ini by default. The file is located on the Application Data path for the product 1.

You can specify an alternate configuration file by using the -skyglow command line parameter. For example, you can specify the Skyglow storage configuration file myskyglow.ini on the root folder of your C: drive by using the following command line parameter:

-ini="C:\myskyglow.ini"


1 Application Data path on Windows 7, 8 and 10 is like:
C:\Users\<user account>\AppData\Roaming\Knightware\SQM Reader Pro 3\