
Using Technician Interface Scripts
1-6
To use the Trivial File Transfer Protocol (TFTP) to transfer files one at a time,
refer to Chapters 4 and 5 of Using Technician Interface Software.
Setting Up Scripts
Once you log in to a Technician Interface session on a router, you can enter
embedded script commands at the command line prompt without any additional
preparations. However, before you run any .bat version scripts, mount the Flash
volume on which they reside.
Use the
mount command to set the default directory to the directory containing
the .bat and .mnu files. The following example mounts Volume 2:
mount 2:
You can also set the default directory by using the dir command. When using the
dir command, enter dir and the appropriate volume number or letter, as shown in
the following example:
dir 2:
Now you can use the run setpath command to set the search path and alias
definitions for the script commands. The search path is a list of volume IDs on
which to search for a script file. There are two ways to specify a search path.
Example 1 — Entering the volume IDs on the command line
run setpath "2:;3:;4:"
Example 2 — Letting the
setpath
command prompt you
run setpath
Komentáře k této Příručce