The following information is intended for advanced users.
GedSite supports the following switches and parameters on the command line should you choose to start the program from a command window or from a scripting facility.
path-to-gedsite.exe -switch gsfile
where
- path-to-gedsite.exe
- Specify the path to the GedSite EXE file. This value must be quoted if it contains spaces. The usual path is "c:\Program Files\GedSite\gedsite.exe".
- -switch
- -switch is optional. You may specify -m or -mx.
		- -m will make the site defined by gsfile.
- -mx will make the site defined by gsfile and then exit.
 
- gsfile
- gsfile is the path to a GedSite file. gsfile is optional, but the switch, if any, is ignored unless you also specify a gsfile.
Examples
You can try the following examples in a command window or the Start > Run menu. You may have to modify the path the GedSite EXE file if you installed the program in a non-standard location, and you must specify the path to one of your GedSite files.
- 
		Open a GedSite file: "c:\Program Files\GedSite\gedsite.exe" "C:\GedSite\My Project.gsfile" 
- 
		Open a GedSite file and then make the site. "c:\Program Files\GedSite\gedsite.exe" -m "C:\GedSite\My Project.gsfile" 
- 
		Open a GedSite file, make the site, and then exit GedSite. "c:\Program Files\GedSite\gedsite.exe" -mx "C:\GedSite\My Project.gsfile" 
Waiting for GedSite to Finish
GedSite is a graphical user interface (GUI) program and when run from a command window or from a script, the command will complete as soon as GedSite starts, even though GedSite is still running. If you are automating a multi-step process, and you want GedSite to complete before proceeding to the next step, you must configure your script to do so. Describing the steps required to wait for GedSite to exit is beyond the scope of this help page.
Post-Make Command
If you specify the "-mx" switch, GedSite will exit immediately after completing the Make Site command. If the GedSite file includes a Post-Make Command, it is ignored.
If you specify the "-m" switch, GedSite will make the site and then execute the Post-Make Command, if any.