Command line interface options for protected application are managed here. Use these settings to enable or disable appropriate command line options or change default names for parameters.

command line parameters for protected application

Click on "Restore" button to restore all command line options to default settings.

-PCG_CL_SHOW

This option is used for invoking activation dialog from command line during demo mode or after activation. "Special key pop-up" option is ignored in case this option is provided from command line and activation dialog is displayed regardless of special key pop-up keys status.

-PCG_CL_LOGFILE

Use this option to override default log filename and location by passing it via command line to protected application.

Definition:

-PCG_CL_LOGFILE [Full path to log file]

Examples:

-PCG_CL_LOGFILE C:\test\test.log

-PCG_CL_LOGFILED:\my application data\test.log

Be sure to put full path to log file in quotes in case path contains space characters as in above example. Directory with log file must be present on remote machine and should have appropriate access rights so that protected application can write to log file.

-PCG_CL_ACTFILE

Use this command line option to override default activation filename which is defined in project settings and embedded into protected application.

Definition:

-PCG_CL_ACTFILE [Full path to activation file]

Examples:

-PCG_CL_ACTFILE C:\test\license.dat

Protection code will try to load “C:\test\license.dat” activation file.

-PCG_CL_ACTFILED:\my application data\activate.dat

Be sure to put full path to activation filename in quotes in case path contains space characters as in above example.

-PCG_CL_SRVFILE

Default server configuration filename is set in network protection settings (Server configuration file tab). By default, server configuration file should be located in same directory as protected application and protection code will try to load it from there.

Use this option to override default server configuration filename and location by passing full path to server configuration file via command line to protected application.

Definition:

-PCG_CL_SRVFILE [Full path to server configuration file]

Examples:

-PCG_CL_SRVFILE C:\test\server.dat

-PCG_CL_SRVFILE “D:\my application data\server.dat”

Be sure to put full path to server configuration file in quotes in case path contains space characters as in above example.

Directory with server configuration file must be present on remote machine and should have appropriate (read) access rights set.

NOTES:

- These are command line options for protected applications. If you are looking for PC Guard's command line interface documentation it is located here.