The gINT installation program sets the program to start with no special options. This may be all you need. However, there are special startup options that you can specify and other methods of starting the program besides the usual methods.
Generally you never see the command line. You double click on an icon or use the Programs menu in the Windows Start button. Underneath these methods is a command line that specifies the gINT executable file (called gint8.exe) and its location.
For example, "C:\Program Files\Bentley\gINT\bin\gint8.exe"
Command Line Options are parameters you place after the command that invokes the program. You must add at least one space after the command line before you start typing the option or options. You can have as many Command Line Options as desired. Separate each with at least one space.
The command line is executed by Windows but any command line options are executed by gINT.
To use a command option for a single run, use the Windows Run command (StartRun). Use the Browse button to locate the gINT executable file and return to the Run text box. You will now have the command line. Add a space at the end of the line and then type the option or options you require.
To permanently store the option or options:
If you have created a short cut on the desk top, right click on it and select Properties.
Otherwise, bring up Explorer and move to the C:\WINDOWS\START MENU\PROGRAMS folder. Open the gINT folder. Right click on the gINT program icon and select Properties.
In Properties, click on the Shortcut tab. The command line is in the Target property.
Please note the use of the forward slash and the space preceding it.
Following are the list of supported options. Note that the options are case insensitive.
To specify a gINT product to run, use one of these command line options:
/logs launches gINT Logs
/logs
/pro launches gINT Professional
/pro
/proplus launches gINT Professional Plus
/proplus
For example:
"C:\Program Files (x86)\Bentley\gINT V8i\bin\gint8.exe" /logs
/LIB=READONLY
"C:\Program Files (x86)\Bentley\gINT V8i\bin\gint8.exe" /LIB=READONLY
This option forces the library file into read only mode, that is, users can access the reports, symbols, etc. in the library but cannot alter them. This is generally used in a networked environment.
/LIB=<Path>\<Name of library file>
"C:\Program Files (x86)\Bentley\gINT V8i\bin\gint8.exe" /LIB="G:\GINTFILE\OUR_LIB.GLB"
You can also change the library file using the FileSystem Properties menu item within the program. This option can be implemented by a system's administrator to ensure that the appropriate library is being used.
/SETUP=<Path to locate SETUP.GSH>
"C:\Program Files (x86)\Bentley\gINT V8i\bin\gint8.exe" /SETUP="C:\GINT"
This is used where gINT resides on the network. Each workstation that will run the program needs a copy of the SETUP.GSH file.
Beginning with gINT Version 8.2, if the SETUP.GSH file does not exist in the specified folder, the file will be created there. You will then need to reset the file location defaults using the System Properties command if you do not use the default settings.
For additional information and a good example of how to use this option see this Forum post: http://communities.bentley.com/products/geotechnical1/f/283906/t/92073.aspx
/PROJECT=READONLY
"C:\Program Files (x86)\Bentley\gINT V8i\bin\gint8.exe" /PROJECT=READONLY
When gINT is used as a reporting engine for in-house databases you usually don't want to use gINT to edit data. If you add /PROJECT=READONLY to the shortcut that launches gINT, the program will not allow interactive changes to the project database but will allow Import or Merge.
<Path\Name of project file>
"C:\Program Files (x86)\Bentley\gINT V8i\bin\gint8.exe" "C:\Users\Public\Documents\Bentley\gINT\Projects\gint std a4 astm lab.gpj"
This allows you to point to a specific project file. This is the only one that doesn't need a command word in front of the path.
/LIB=<Path>\<Name of library file> <Path\Name of project file>
"C:\Program Files (x86)\Bentley\gINT V8i\bin\gint8.exe" "C:\Users\Public\Documents\Bentley\gINT\Projects\gint std a4 astm lab.gpj" /LIB="G:\GINTFILE\OUR_LIB.GLB".
/SCRIPT=<Path>\<script file name>
"C:\Program Files (x86)\Bentley\gINT V8i\bin\gint8.exe" /script=c:\gint\datatmpl\example.gsc
This allows you to execute a script without running gINT first. For more information, go to Help->Index->Command Scripts Overview (how-to guide).
If the program will not load or you are getting an error message, run it with this option. The file GINTLOG.TXT will be generated and the program will tell you what folder it will be written to on startup (general to the main program folder).
For more information, see http://communities.bentley.com/products/geotechnical1/w/wiki/how-to-turn-on-error-logging-in-gint.aspx