Starting Microsoft Dynamics GP from the command line

To start Microsoft Dynamics GP from the command line, you must supply the location of the Microsoft Dynamics GP runtime engine, the launch file to use, and optionally, the macro to run when Microsoft Dynamics GP starts. For example, if the Dynamics.exe, Dynamics.set, and Login.Mac files are in the C:\Program Files\Microsoft Dynamics\Microsoft Dynamics GP folder, the following command starts Microsoft Dynamics GP and runs the LOGIN.MAC macro.

“C:\Program Files\MicrosoftDynamics\Microsoft Dynamics GP\Dynamics.exe”
“C:\Program Files\Microsoft Dynamics\Microsoft Dynamics GP\Dynamics.set” 
“C:\Program Files\Microsoft Dynamics\Microsoft Dynamics GP\Login.mac”

 

Notice that a complete path is used to refer to the Microsoft Dynamics GP runtime engine and launch file, and the macro to be run.


Documentation Feedback