 |
 |  |
 |
 | NOTE: The netrun command can be used
on LAN Manager OS/2 and UNIX servers, but not on Windows NT
Advanced Servers or Windows NT workstations. It
cannot be used to run interactive programs such as word processors
or spreadsheets. |
 |
 |  |
 |
Use the netrun command to run a program
on a LAN Manager OS/2 or UNIX server. You can run a program
on a server only from the command line.
The server must be configured to accept remote program requests.
See your administrator for help using this command.
To use the netrun command
Connect to a shared directory on the server with the net
use command.
Change your current directory to the shared directory.
Type netrun
followed by the filename of the program and any options or vari
ables the program requires.
When you use netrun, the program output
is sent to your screen unless you use the operating-system redirection
symbol to send information to a file. To send information to a file,
include >pathname in the netrun command line.
If the program being run has options or variables that include
filenames, specify the full path for each file. If a drive letter
is included in the path, LAN Manager assumes it's
one of the server's drives.
For more information about running a program on a server,
see "Netrun" in Chapter 5, "Enhanced
Reference" or Chapter 7, "Basic Reference."