# Command Line

Command Line — MC Grating documentation for Modal Collinear and Modal Conical and Modal Crossed and Chandezon Collinear and Chandezon Conical and Chandezon…

Canonical: https://mcgrating.com/docs/common/command-line.html


Written by Nikolay M. LyndinLast revised 2013-01-22

This documentation was written for releases up to 2018 and is being revised. Some dialogs have changed since. If something does not match what you see, write to [mc@mcgrating.com](mailto:mc@mcgrating.com).

There is a possibility to run an executable file in command line with two obligatory parameters separated by space. First of them is a path to a structure file and second is a path to an output file. Software will start calculation with parameters stored in the structure file including settings parameters, for example *Background Calculation*. After finishing calculation the executable will be terminated. This option will be helpful for users familiar with external running of executable files and allow performing user defined type of scanning.

From the in-application help of Modal Collinear and Modal Conical, documented through 2018. If you publish results computed with MC Grating, see [how to cite it](https://mcgrating.com/references.html#cite).
