
<section id='WCF_CommandLineOptions_id' type='appendix'
webfilename='commandlineoptions'>
    <title>
        Command-Line Options
    </title>
    <para>
        The name of a BaseOps <link
        target='#BaseOps_IntroductionToCases_id'>case file</link> may
        be specified on the BaseOps command line. This file will be opened
        when BaseOps runs. This allows you to associate the extension
        <filetext>.baseops</filetext> with the BaseOps application, and
        invoke BaseOps by double-clicking on a case file from Microsoft
        Windows Explorer.
    </para>
    <para>
        An old-format case file (i.e., a file with the extension <filetext>.ops</filetext>,
        <filetext>.opx</filetext>, or <filetext>.bps</filetext>) may also
        be specified on the command line. If a corresponding <filetext>.baseops</filetext>
        file exists (i.e., a file with the same base name, but with an
        extension of <filetext>.baseops</filetext>), it will be opened.
        Otherwise, a new <filetext>.baseops</filetext> case file will
        be created from the existing file.
    </para>
    <para>
        Enclose file names containing spaces with double-quotes, as in...
    </para>
    <para>
        <commandprompt>C:\></commandprompt><commandinput>baseops "My Case
        File.baseops"</commandinput>
    </para>
    <section>
        <title>
            Create Noise Model Input Files
        </title>
        <section>
            <title>
                Synopsis
            </title>
            <para>
                <commandinput>-makeopx</commandinput><commandparam> baseopscasefilename</commandparam>
            </para>
        </section>
        <section>
            <title>
                Description
            </title>
            <para>
                Creates all relevant noise model input files for a BaseOps <link
                target='#BaseOps_IntroductionToCases_id'>case</link>. This includes
                the <filetext>.ops</filetext> and <filetext>.opx</filetext> files
                for NMap, the <filetext>.ops</filetext> files for AAM and RNM,
                and the <filetext>.ins</filetext> and <filetext>.inx</filetext>
                for MRNMap. If the BaseOps case contains multiple <link
                target='#BaseOps_ScenarioChunk_id'>scenarios</link>, then distinct
                input files are created for each scenario.
            </para>
            <para>
                The effect is the same as if you manually performed the following
                steps.
            </para>
            <orderedlist>
                <listitem>
                    <para>
                        Start BaseOps and load the case file
                    </para>
                </listitem>
                <listitem>
                    <para>
                        Go to the <link target='#BaseOps_RunChunk_id'>Run page</link>
                    </para>
                </listitem>
                <listitem>
                    <para>
                        Choose to <link target='#BaseOps_RunChunk_ScenariosToRun_id'>Run
                        All Scenarios</link>
                    </para>
                </listitem>
                <listitem>
                    <para>
                        For the run steps to perform, select <link
                        target='#BaseOps_RunChunk_StepsToRun_id'>Run Only The Following
                        Steps</link>
                    </para>
                </listitem>
                <listitem>
                    <para>
                        For each noise model, check those steps up through the creation
                        of the relevant <filetext>.opx</filetext>, <filetext>.opx</filetext>,
                        and <filetext>.inx</filetext> files, and uncheck all subsequent
                        steps
                    </para>
                </listitem>
                <listitem>
                    <para>
                        Run the case
                    </para>
                </listitem>
                <listitem>
                    <para>
                        Change all of the run options back to the original values they
                        had when the case was loaded
                    </para>
                </listitem>
                <listitem>
                    <para>
                        Exit BaseOps
                    </para>
                </listitem>
            </orderedlist>
        </section>
        <section>
            <title>
                Examples
            </title>
            <para>
                <commandprompt>C:\></commandprompt><commandinput>baseops -makeopx
                "My Case File.baseops"</commandinput>
            </para>
        </section>
        <section>
            <title>
                Comments
            </title>
            <para>
                This command line is intended to be used as part of a batch operation.
                BaseOps will exit after creating the relevant noise model input
                files. See <iref target='WC_BatchModeErrorHandling_id'/> for a
                discussion of how errors are handled while processing this option.
            </para>
        </section>
    </section>
    [-include "WC_BatchModeErrorHandling_Section.rxl"
        ApplicableCommandLineFlagsList=
            "<listitem><para><commandinput>-makeopx</commandinput></para></listitem>"-]
</section>
