The Microsoft Build Tools and Windows SDK Configuration Utility

Use the cblms command line utility to view and set the package versions in effect for your COBOL environment.

Important: If you are updating or clearing package versions, you must run this utility from a command prompt with administrative privileges.

Syntax:

cblms <option>

Parameters:

Note: <option> settings are case insensitive.
<option> can be one of:
-U
Updates the COBOL environment to use the latest versions of the Microsoft Build Tools and SDK packages that are located in the default folders. Any open IDE instance or command prompt must be restarted before these changes take effect.
-U<ms-pkg>
Updates the COBOL environment to use the latest version of the particular package type that is located in the default folder. Any open IDE instance or command prompt must be restarted before these changes take effect.
-U<ms-pkg>:<version>
Updates the COBOL environment to use a specific version of the particular package type that is located in the default folder.Any open IDE instance or command prompt must be restarted before these changes take effect.
-U<ms-pkg>:<path>
Updates the COBOL environment to use the latest version of the particular package type that is located in the (non-default) folder specified. Any open IDE instance or command prompt must be restarted before these changes take effect.
-U<ms-pkg>:<path>?<version>
Updates the COBOL environment to use a specific version of the particular package type that is located in the (non-default) folder specified. Any open IDE instance or command prompt must be restarted before these changes take effect.
-L
Lists all versions of the Microsoft Build Tools and SDK packages that are located in the default folders.
-L<ms-pkg>
Lists all versions of a particular package type that are located in the default folder.
-L<ms-pkg>:<path>
Lists all versions of a particular package type that are located in the (non-default) folder specified.
-Q
Displays the versions currently in use by the COBOL environment.
-Q<ms-pkg>
Displays the version of the selected package type that is currently in use by the COBOL environment.
-R
Clears all version information. (Only use this option when instructed to by OpenText Support for Micro Focus Products.)
-H
Displays the available command line options.

Legend:

<ms-pkg>
<ms-pkg> can be one of S or SDK for the Microsoft SDK, or B or BT for the Microsoft Build Tools.
<path>
<path> is the path in which to locate packages that are not installed to the default location for their package type.
<version>
<version> is the package version with which to update when the latest version is not the one required. When specifying version, it must be in the form:
  • n.n.n.n for a Windows SDK
  • n.n.n for Build Tools
  • n for list ID - the list ID is displayed using cblms -L.

The following example updates the COBOL environment to use version 10.0.17134.0 of the Windows 10 SDK, installed in C:\WinSDK\10.

cblms -USDK:C:\WinSDK\10\10.0.17134.0