|
The Microsoft NET command is used to manage
file and print sharing. The NET command has many options and uses. Example are
- NET USE to display network connections
- NET SHARE to display network shares on a
server
- NET VIEW to display the server list for a
domain
- NET USER to display user accounts
- NET LOCALGROUP to display local groups
The syntax of this command is:
NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
C:\>NET USE
New connections will be remembered.
Status Local Remote Network
---------------------------------------------------------------------
Disconnected F: \\p3\f$ Microsoft Windows Network
OK W: \\p600\d$ Microsoft Windows Network
Unavailable X: \\r991\f$ Microsoft Windows Network
Unavailable Y: \\r991\e Microsoft Windows Network
Disconnected Z: \\p3\f$ Microsoft Windows Network
OK \\P600\IPC$ Microsoft Windows Network
The command completed successfully.
C:\>NET
SHARE
Share
name Resource Remark
-----------------------------------------------------------------
C$ C:\
Default share
print$ C:\WINDOWS\System32\spool\drivers Printer Drivers
ADMIN$ C:\WINDOWS Remote Admin
IPC$ Remote IPC
SharedDocs C:\DOCUMENTS AND SETTINGS\ALL USERS\DOCUMENTS
Printer LPT1:
Spooled Generic / Text Only
The command completed successfully.
|