User's Guide for MS-DOS Clients

176
Enhanced Reference
Command and Utility Summary
Netrun
Purpose
The netrun command runs a program or command on a LAN Manager OS/
2 or UNIX system server.
NOTE: The netrun command does not work on Windows NT Advanced Servers or
Windows NT workstations. Also, 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. On a
LAN Manager OS/2 server, 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 computers processing power to
run a program. You can do this only from the command line. There is no
comparable command available with the LAN Manager screen. 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 if you do
not already have such a connection.
3 Change your current directory to any shared directory on the server that has the
program you want to run. The program need not be in the directory you change
to and might not be visible to you through any other net commands. As long as
you are using a directory on that server, you can run the program, even if you can-
not see the program file with any directory command or view command.
4 Type netrun followed by the filename of the program and any options or vari-
ables the program requires.