EXE Command-Line Switches
Your compiled application’s EXE file supports several command-line switches (also known as arguments) that automate specific actions at startup. You can use these in shortcuts or scripts to control how the application behaves when it launches.
Available Switches
Section titled “Available Switches”-deact
Section titled “-deact”Initiates the deactivation process, allowing a user to move their license to another computer.
MYAPP.EXE -deactErases all of the application’s secure save files and loads the original workbook. Use with caution, as this action cannot be undone.
MYAPP.EXE -del-enterkey
Section titled “-enterkey”Opens the activation dialog box, allowing the user to enter a new activation key. This is useful for replacing an old or expired key.
MYAPP.EXE -enterkeyOpens a file dialog prompting the user to select a save file to load.
MYAPP.EXE -load-reset
Section titled “-reset”Discards any unsaved changes from the last session and loads the original, unmodified workbook. This does not delete any .xlsc save files.
MYAPP.EXE -reset-webupdate
Section titled “-webupdate”Forces the application to immediately check for a new version online, based on your “Web Update” settings.
MYAPP.EXE -webupdateLoading a Specific Save File
Section titled “Loading a Specific Save File”You can also launch the application with the full path to a secure save file (.xlsc or .xlsce) as an argument. This will automatically load the specified file at startup without any prompts.
MyApp.exe "D:\My Documents\123.xlsc"