11.0

Table Of Contents
Chapter 10: Working with Custom commands
Using the Convert XML to DAT tool
You can use a text editor to open commands that are in XML format. To allow only Dragon users
to access those command files, you can convert them fromXMLformat to DAT format. Dragon
uses
.dat
files to store commands.
You can use the XMLto DATtool (
mycmdsxml2dat.exe
) to extract user-defined Dragon com-
mands from an XML file. The tool writes the commands to a
.dat
file. Use the
nsadmin
utility
or the
Data Distribution Tool
to make the new
.dat
files available to those other users.
Note: If you are using the SDK Client Edition of Dragon, you can use the DgnEng-
ingControl::ImportMyCommands method to programmatically import Dragon commands from
an XML or DAT file into a Dragon User Profile.
Starting the Convert XML to DAT tool
n In Dragon:
Start > All Programs > Dragon NaturallySpeaking 11.0 > Dragon NaturallySpeaking
Tools >Convert XML to DAT
n In Dragon SDK Client Edition:
Start > All Programs > Dragon SDK Client Edition 9 > Dragon SDK Client Tools >
Convert XML to DAT
The
Convert XML to DAT
tool starts in an MS-DOS window, listing the tool's syntax.
Displaying syntax information for the Convert XML to
DAT tool
1. From a command line, navigate to the
\Program
directory in the installation directory of the
Dragon SDKClient. For example,
C:\Program Files\Nuance\NaturallySpeaking11\Program>.
2. From a command line, enter mycmdsxml2dat
Convert XML to DAT syntax
Convert XML to DAT
(
mycmdsxml2dat.exe
) uses the following syntax:
mycmdsxml2dat.exe <dat-file-path> <xml-file-path> [options]
299