The NET Command Program


The NET Command Program
 
NET Command Syntax Chart
NET ASCII
NET BOOT
NET CLOSE
NET CLIENTS
NET COMBINE
NET CONTINUE
NET DEBUG
NET DELAY
NET GHOST
NET FLUSH
NET HELP
NET KEY
 
NET LOAD
NET LOGOFF
NET LOGON
NET MENU
NET MODEM
NET PAUSE
NET PASSWORD
NET PEERS
NET PING
NET PORTS
NET PRINT
NET PRNSETUP
 
NET RC / Remote Control
NET RECEIVE
NET RING
NET SEND
NET SEPARATE
NET SERVERS
NET SHARE
NET TIME / DATE
NET USE / CONNECT
NET VERSION
NET VIEW
 
 
NET USE / CONNECT
This command allows you to associate a local drive letter or device name with a shared network drive or device. The device may be a printer LPT1 thru LPT4, a serial port COM1 thru COM4, AUX1 thru AUX4 or a  logical drive A: thru Z:.
The NET USE command is issued to USE or CONNECT to a shared network drive, or device, on the network.
 
The commands NET USE and NET CONNECT are interchangeable. Originally IBM used NET USE and Microsoft used NET CONNECT. OTEX LAN allows both. In all the following examples the NET USE is used as it is now the preferred method.
 
Command Syntax In Brief
Connecting to a network drive
NET USE {d:} {servername}[d:][password | *]
 
Connecting to a network directory
NET USE {d:} {servername}[path][password | *]
 
Connecting to a network drive using a network sharename
NET USE {d:} {servername}[sharename] [password | *]
 
Connecting to a network directory using a network sharename
NET USE {d:} {servername}[sharename] [password | *]
 
Connecting to a network printer or serial port
NET USE {device} {servername}[device] [password | *]
 
Connecting to a network printer or serial port using a sharename
NET USE {device} {servername}[sharename] [password | *]
 
Disconnecting from a network drive or directory
NET USE {d:} /d
 
Disconnecting from a network printer or serial port
NET USE {device} /d
 
Displaying the connection list
NET USE
 
Connecting to a network drive
To connect to a server's shared C: drive, using our F: drive, where the server's name is SERVER1, use the following command:  NET USE F: SERVER1C:


Written by