home *** CD-ROM | disk | FTP | other *** search
- Use of variables in TCPIP commands (v2.00g onwards)
- ==================================
-
- Version of !TCPIP from 2.00g onwards have facilities for handling
- string variables in commands and menu macros.
-
- These variables may be embedded vitually anywhere, including in the
- AutoExec, Config, Domain and resolve.ResConf files and in any commands
- typed into the main command window, including of course, macros selected
- from the command menu in the main window.
-
- To create a variable, or re-assign a variable use the "set" command as
- follows:
-
- set <var_name> "<value>"
-
- For example:
-
- set user "adam"
- set node "comptech"
- set domain "demon.co.uk"
-
- These variables are referenced by including them where needed,
- surrounded by braces '{' and '}'. For example
-
- set email "{user}@{host}.{domain}"
-
- Assuming user, node and domain have been set as above, this would result
- in email being set to "adam@comptech.demon.co.uk".
-
- It is likely that this facility will gradually grow into becoming a
- simple embedded script language with basic flow control, looping and
- function calling mechanisms, usable for interacting with servers for
- doing operations such as batch file operations, dialing providers and
- loggin in etc.
-
-