The NET command

The NET Command is used to manage network resources as follows:

Manage Services NET START, STOP, PAUSE, CONTINUE
Connect to a file/print Share (Drive Map) NET USE
Create/view file/printer Shares NET SHARE, VIEW, FILE, SESSIONS
Manage Network Print jobs and Network Time NET TIME, PRINT
Security NET ACCOUNTS, USER, GROUP, LOCALGROUP
Network Messaging NET NAME, SEND
Help NET HELP, HELPMSG
Network configuration NET COMPUTER, CONFIG_WORKSTATION, CONFIG_SERVER, STATISTICS_WORKSTATION, STATISTICS_SERVER

When you use NET commands in a batch file, you can use the Y or N switch to unconditionally answer Yes or No to questions returned by the Net command.

Tags: 

Share