BGT Command Line Options
When you choose an item in the BGT context menu by right clicking on a script file, what happens internally is that bgt.exe is executed with a particular command line option. This means that by passing these options manually you can accomplish the same tasks as the context menu does. Each option starts with a - (dash) character. The following command line options are available:

## Executing a script

You may execute a script simply by passing its name in quotes. No special options need to be specified.
bgt.exe "path/to/my/script.bgt"

## Compiling a script

The -c and -C commands are used to compile scripts. -c compiles a debug build, and -C compiles a release build. If only -c or -C is specified, a dialog asking for a script to compile will appear. Optionally you may include a filename within quotes after the command, which will result in that script being compiled directly.
bgt.exe -c
Shows a dialog box asking for a script to compile, and makes a debug build of it.
bgt.exe -C
Shows a dialog box asking for a script to compile, and makes a release build of it.
bgt.exe -c"path/to/my/script.bgt"
Compiles a debug build of the specified script.
bgt.exe -C"path/to/my/script.bgt"
Compiles a release build of the specified script.

## Launching the registration manager

You may launch the registration manager by passing the -r command.
bgt.exe -r