Mocha TN5250 Help
ParametersMenu - Tools - Save shortcut includes a tool to define parameters for TN5250
Mocha TN5250 can be started with a set of parameters.
- /H "host" : make a connection to host on program start.
- /D "device" : Device name for the session.
- /P "port" : do not use default TN5250 port 23 on the host, but number ‘port’
- /S : Secure mode. Not possible to save the configuration on exit.
- /R : Selection of host to connect is restricted. Use /H option to define the host name.
- /N "name" : Name will be displayed at first position of the title. As default the Host session name is displayed.
- /SSL : Use SSL. (should be used with /P , as to select the correct port)
- /C "Session name" : Use a configuration defined with this name. See menu - file - new session for a list of names in use.
- /M : run without a menu bar
- /T : run without a tool bar
- /Z configfile : copy configuration file to the users private configuration folder, and exit
- /X configfile : as /Z , but also start a tn5250 window
- /Y configfile : as /X but also write changes made to the configuration back to the configfile.
/H "192.168.2.4" /D "MYTERM88" /N "AS/400 order system" /R
This will make a session to an AS/400 with IP address 192.168.2.4, using device name MYTERM88 , the title will show "AS/400 order system" and it will only be possible to connect to this specific AS/400.
Installation with a standard configuration
The installation file tn5250.msi can also be started with a configuration file as a parameter. Install tn5250 on a PC, and use menu - tools - configuration - export, to export a configuration file.
On another PC, reuse the configuration running
tn5250.msi CONFIG=c:\user.config /quiet
if the configuration file was saved in c:\
The parameter /quit is optional and will run the installation without user interaction.
Copyright (c) 1997-2017 MochaSoft Aps. All Rights Reserved.