2.7.1 Executing the correct version of DCL

If you have Mif2Go version 3.3 installed on your system, you already have an older copy of DCL executable dcl.exe in the Windows system directory. If you need to keep that copy in place for Mif2Go system builds, on the command line you must use the full path to the newer DITA2Go dcl.exe; otherwise Windows will use the old copy instead, and you will wonder why DITA2Go does not work as expected.

To ensure you are executing the correct version of dcl.exe, create a Windows environment variable to use on the command line:

  1. In Control Panel (on Windows XP, for example):

    Control Panel > System > Advanced > Environment Variables

  2. If DCL is not listed in the System variables section, click New to create this environment variable. For example:  

    Variable name:

    DCL

    Variable value:

    %omsyshome%\common\bin\dcl.exe

    If DCL is already listed with a different value, you will have to use a different name.

  3. Click OK three times to save the definition and return to Control Panel.

Now you can execute DCL on the command line with the command %DCL% (or %dcl%) instead of typing the full path.

Previous Topic:  2.7 Converting documents from the command line

Next Topic:  2.7.2 Understanding how to run DITA2Go DCL

Parent Topic:  2.7 Converting documents from the command line

Sibling Topics:

2.7.2 Understanding how to run DITA2Go DCL

2.7.3 Creating a script to run DITA2Go DCL

Table of ContentsIndex