# Workspace and Application Command Line Initialization

There are several command line arguments that can be used with the ViDi GUI on startup for workspace and application initialization. The commands are issued using Windows Command Prompt, and navigating to the %ProgramFiles%\Cognex\ViDi Suite\3.3 directory. You issue the commands by first specifying the name of the application ("ViDi Suite GUI" or "ViDi Suite Service.exe" if using the ViDi Client/Server Functionality), 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 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. For more information, refer to the ViDi Suite Service Application – Command Line Arguments topic.
--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.