Command line arguments

Command line arguments allow you to start InfoQube with certain parameters. The format is:
  • InfoQube.exe /param /param2:test
To start a program with command line arguments, you can:
  • Create a Windows shortcut
  • Create a batch file
  • Open a command window and type manually type the command
  • Use InfoQube or another program launcher
InfoQube supports the following command line arguments:
  • /LastFile
    Automatically opens the last opened file
     
  • /File: File1
    Automatically open a given file (full path enclosed with " ") (unless Shift is held down during startup)
     
  • /Files: File1, File2, ...
    Automatically open a list of files (full path enclosed with " ", comma-separated) (unless Shift is held down during startup)
     
  • /Password: YourPassword
    For password protected files, will attempt to open the file with the supplied password. Needless to say, this is not a very secure way of doing...
     
  • /User: UserName
    IQ normally uses the Windows logon to user-stamp operations. With this flag, you can force the use of another user name. This is convenient when working on different machines, with different logons (i.e. home and office)
     
  • /Repair
    Opens the file and performs a repair
     
Example 1:  The following batch file would change the folder to the current one, start InfoQube and set the current user to User1:
CD %CD%
start InfoQube.exe /user:User1
exit /B
 
Example 2: Creating a Windows shortcut with the following, would automatically start up the kab002 IQbase:
C:\IQ\InfoQube.exe /File: "C:\IQ\Users\You\kab002.SNDB"