cmd4 <command> [-<option> . . . ] -username <string> -password <string> Executes the specified command and exits immediately. Note: the default connection is the first one in the configuration file (USERCONFIG.XML file, typically stored in C:\Users\<yourWindowsname>\AppData\Roaming\TeraDP\GN4\ on Windows 10 / 8 / 7 / Vista and in c:\Documents and Settings\<user name>\Application Data on Windows XP / Server 2003). See Configuring a connection to GN4. |
cmd4 <command> [-<option> . . . ] -srvname <string> -username <string> -password <string> Executes the specified command for the connection specified in -srvname and exits immediately. Note: the connection is a line in the configuration file (USERCONFIG.XML file, typically stored in C:\Users\<yourWindowsname>\AppData\Roaming\TeraDP\GN4\ on Windows 10 / 8 / 7 / Vista and in c:\Documents and Settings\<user name>\Application Data on Windows XP / Server 2003). If a specified connection name does not exist, you are offered to create it. See also Configuring a connection to GN4. |
cmd4 <command> [-<option> . . . ] -srvurl <string> -username <string> -password <string> Executes the specified command for the URL specified in -srvurl and exits immediately. Note: in version 2.5 and newer, the URL is http://<myserver>/<myWebApp>/. In version prior to 2.5, the URL is the address of the Web service to connect to, e.g. http://<myserver>/<myWebApp>/Adminsrv.asmx. If it is needed to supply sign-in information (domain name, pass phrase, user name and password) to connect to the Web service, you can use -srvusername <string>, -srvpassword <string>, -srvdomain <string> and -srvpassphrase <string> |
cmd4 [-<option> . . . ] Enters in the interactive mode, allowing the user to enter multiple commands in a single session. In this second case the options are only the ones related to the default connection with the server. |
Try 'cmd4 help' for info about commands, and 'cmd4 help <option>' for info about specified command. |
Almost all options of cmd4 commands include the connection parameters, that are the same across all commands: -username <string> The optional user name to use to login into the system. If not specified the Web service login is used. Ignored in interactive mode. -password <string> The user password to use to login into the system. Ignored if no system user name is specified. Ignored in interactive mode. -lang <string> User-interface language, e.g. 'en-US' for English, US version. Ignored in interactive mode. -srvname <string> The name of the Web service connection parameters to use, as defined in the user configuration file (USERCONFIG.XML file, typically stored in C:\Users\<yourWindowsname>\AppData\Roaming\TeraDP\GN4\ on Windows 10 / 8 / 7 / Vista and in c:\Documents and Settings\<user name>\Application Data on Windows XP / Server 2003). If not specified the first connection in the configuration file is used. Ignored in interactive mode. Notes: •When using this parameter, have in mind that there is no way to ensure that the same name in the USERCONFIG.XML file gets used coherently on all network computers. Therefore, this is not a safe method unless you are using it only on well known computers. •Use either -srvname or -srvurl, but not both. -srvurl <string> The URL of Web service to connect to. In version 2.5 and newer, the URL is http://<myserver>/<myWebApp>/. In version prior to 2.5, the URL is the address of the Web service to connect to, e.g. http://<myserver>/<myWebApp>/Adminsrv.asmx.. Ignored in interactive mode. Notes: •When using this parameter, have in mind that it is independent of the USERCONFIG.XML settings, therefore, much safer. •Use either -srvname or -srvurl, but not both. -srvusername <string> The Windows user name to use to login to the Web service. If not specified the current Windows login is used, and the password and domain options are ignored. Ignored in interactive mode. -srvpassword <string> The Windows user password to use to login to the Web service. Ignored ininteractive mode. -srvdomain <string> The domain of the user to use to login to the Web service. Ignored in interactive mode. -srvpassphrase <string> Pass-phrase used to encrypt/decrypt data transferred to and from the server. Ignored in interactive mode. See also |