# Workspace and Application Command Line Initialization

There are several command line arguments that can be used with the VisionPro Deep Learning GUI on startup for workspace and application initialization.

The commands are issued using Windows Command Prompt, and navigating to this directory for Cognex Deep Learning Studio.exe (IDE application):

C:\Program Files\Cognex\VisionPro Deep Learning\4.2\Cognex Deep Learning Studio

Navigate to this directory for VisionPro Deep Learning Service.exe (if using the Deep Learning Client/Server Functionality):

C:\Program Files\Cognex\VisionPro Deep Learning\4.2\Service

You issue the commands by first specifying the name of the application followed by the command line arguments.

The following command line arguments can be issued to define the path of a workspace, and additional application related commands:

Command | Description
--- | ---
--workspace-path=file path | Specifies the directory location where the workspace will be saved.
--auto-save-interval=duration in minutes | Specifies an amount of time between auto-saves of workspaces. The default is 5 minutes. Set to -1 to never auto-save. Note: The auto-save feature A feature is a visually distinguishable area in an image. Features typically represent something of interest for the application (a defect, an object, a particular component of an object). does not apply to runtime workspaces. Therefore, if the --runtime-only command is activated while the --auto-save-internal command has been set, the auto-save feature will be ignored.
--activate-debug-logs=[0 or 1] | Activates logging for debugging purposes.
--help | Used to return a list of command line options.
--version | Requests version information.