Home XP Commands
XP Syntax

NET.exe

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

"The white man knows how to make everything but he does not know how to distribute it" - Sitting Bull

Related commands:

CON2PRT
- Connect or disconnect a Printer
GLOBAL - Display membership of global groups
LOCAL
- Display membership of local groups
MODE - Configure a system device
NETDOM - Domain Manager
SC - Service Control

Q149427 - Change Password from the CMD prompt

Equivalent Linux BASH commands:

groups - Print group names a user is in
hostname - Print or set system name
id - Print user and group id's
logname - Print current login name
mount - Mount a file system
ram - ram disk device
uname - Print system information
users - Print login names of users currently logged in
who - Print who is currently logged in



Back to the Top

Simon Sheppard
SS64.com