User's Guide for MS-DOS Clients
255
Basic Reference
Using UNIX System Commands
Netrun
Purpose
The netrun command runs a program or command on a LAN Manager OS/
2 or UNIX system server.
NOTE: Netrun does not work on Windows NT Advanced Servers or workstations. You
cannot use the netrun command to run interactive programs such as word processors
or spreadsheets.
Syntax
netrun command
where
command
Is the name of a program you want to run. The program file must have a .EXE
extension. You don’t need to supply the filename extension when you type the
command.
Comments
The netrun command lets you use another computer’s processing power to
run a program. You may need the help of your administrator to use this
command.
To run a program on a server
1 Get the filename of the program you want to run and the computername of the
server you want to use.
2 Connect to a shared directory on the server with the net use command.
3 Change your current directory to the shared directory. This directory need not
contain the program you want to run; the administrator defines which programs
you can run.
4 Type netrun followed by the filename of the program and any options or vari-
ables the program requires.
If the program you are running 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 that the drive is one of the server’s drives.