9.0

53
nsadmin: Adding Custom Commands
You can use nsadmin to make a set of custom commands available to all user profiles on a particular DNS
installation.
Note the following when adding a custom commands:
For a default installation, custom commands for existing DNS users are located in:
\Documents and Settings\All Users\Application Data\Nuance\Dragon
NaturallySpeaking\Custom\<language>
Once you have imported the custom commands to NaturallySpeaking installation, you must close your
users, then re-open and save them for the changes to become available to those users.
Adding custom commands
1. Create custom commands in Dragon NaturallySpeaking.
2. Export the commands to a .dat file. In this example, NewCommands.dat.
3. Copy the .dat file to a shared location accessible to all the client computers where you want to add the
commands.
4. On each client computer, map a network drive to the shared location you created or reference the network
UNC address of the location with nsadmin.
5. On each client computer, use the following command syntax to add the custom commands contained in
the .dat file.
Example
<PATH>\nsadmin /commands G:\NsAdmin\NewCommands.dat
Paths
Paths can be entered as complete local paths, relative paths, mapped network drives, a UNC path, or the path to
removable media, such as a CD-ROM or ZIP drive. Pathnames that include spaces must be enclosed in quotation
marks.
To use a UNC address, format the command as in the following example:
<PATH>\nsadmin /commands \\HostComputer\NsAdmin\NewCommands.dat
The NewCommands.dat file will be copied to:<drive>:
\Documents and Settings\All Users\Application Data\Nuance\Dragon
NaturallySpeaking9\Custom\enx\NewCommands.dat
To add the commands to a language other than English, use the /language option:
<PATH>\nsadmin /commands G:\NsAdmin\NewCommands.dat /language=fra
The NewCommands.dat file will be copied to:
\Documents and Settings\All Users\Application Data\Nuance\Dragon
NaturallySpeaking9\Custom\fra\NewCommands.dat
To overwrite a commands file with the same name as the file you are adding, use the
/overwrite option: