> For the complete documentation index, see [llms.txt](https://beyondcompare.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beyondcompare.gitbook.io/project/scripts-and-the-command-line/tl-dr.md).

# TL; DR

Composing a script often follows three stages:

Start with [a working script that is similar](https://www.scootersoftware.com/v4help/index.html?sample_scripts.html) to the one you wish to make.

Modify it by consulting the [syntax guide](https://www.scootersoftware.com/v4help/index.html?scripting_reference.html).

Run the script from the [command line](/project/scripts-and-the-command-line/scripts-and-the-command-line-interface.md), with&#x20;

`BComp.exe @nameofscriptfile   file1   file2` (for Windows)&#x20;

`BComp @nameofscriptfile   file1   file2` (for Linux and Mac)
