Design Manager Professional 7.0 Command Line Arguments

Modified on: 2017-04-27 15:22:58 -0400


Design Manager Pro 7.0 supports the following command-line arguments.  These arguments are passed on the command line or following the executable name in the short-cut target.  For example:

Dmp70.exe /host /hfd=off

The command-line arguments are not case sensitive and each command must be preceded with a forward slash.  The following commands are supported…

/dbconfig

This used to set the location of the SQL Server for the current user when DM is running on SQL Server.

/dbconfigadv

This used to set the location, provider, driver, and advanced OLEDB connection string parameters for the current user when DM is running on SQL Server.  It also allows input of the path of the report and picture files (pictdata) folder.

/sqldbname:<databasename>

This specifies the name of the database when DM is running in SQL Server.  This is used when there is multiple DM database so an icon can be setup to run each copy of DM (as when there are multiple companies).  This overrides the DBName registry setting.

/host

This command places DM into hosting mode which is useful if running DM on a Terminal or Citrix Server especially if hosting the software over the Internet.  The /host command changes the software to use pass-through authentication with auto-user-creation (unless the /pta=off/on command is used, see below for more details), changes e-mail and export functions so that they save files for attachment instead of interfacing directly with e-mail or MS Office, maps local COM ports to server COM ports for data collection devices, and changes the system to use a special file dialog which only presents users with their local client drives (unless the /hfd=off command is issued).  Note: The DM help file, dmp7hlp.chm, gets picked up from the windows/help directory of the Terminal/Citrix Server; this file can be copied to each server’s windows/help directory in a farm environment.

/pta=on

This causes DM to use pass-through authentication.  This is useful on a network domain; it passes the username of the user logged into the local computer workstation to DM.  The DM password tab in the Company Window is used to enter a list of users in your domain and to set their access rights to DM (passwords are not entered since they are controlled by the domain).  The /host command automatically uses PTA.  When the /host command is used, the system will automatically create a user account for any new user that logs into DM, this new account will be “un-configured” and access must be set by another user with rights before the new user can access any meaningful functionality.  If the /host is used in conjunction with /pta=on command then any new user that does not have an account in DM will be denied entry to the software.  New users must be added manually by another DM user with rights.

 /pta=off

This command should only be used in conjunction with the /host command, it forces DM not to use pass-through authentication.

/hfd=on:<networkdrivelist>

This causes DM to display a special file dialog when saving or loading files such as pictures, exporting reports, etc.  This file dialog allows access to non-network local client drives in addition to the drives specified in the <networkdrivelist> parameter.  Local client drives are defined by the network path //client/ and are mapped automatically by the Citrix ICA, RDP, or Terminal Server Client.  The Citrix or Terminal Server must be configured to map local drives of the client and any group polices will override this command.

Example:

dmp70.exe /hfd=on:xyz 

This command turns on the hosting file dialog and allows access to the drives X:, Y:, and Z: along with any drives mapped to the local client.

/hfd=off

This command should only be used in conjunction with the /host command, it forces DM not to use the hosting file dialog (the standard Windows file dialog will be used).

/log=on

/log=off

Turns on or turns off logging to a text file for each user.   This should only be used by DM technical support for diagnostics.  It writes log files of errors and database I/O operations to special files in the DM working directory.

/speedtest

This command runs DM in a mode that displays a benchmark in seconds after every function that requires the working percentage bar to be displayed.  It is useful for detecting how fast a certain report runs on one machine or another.



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.