Hi
CAUTION
=========
Shares created through the use of the net share command are created with
the Everyone group having Read permissions.
Creating a New Share Using the Command Line
============================================
New file shares can also be created within the command line using the net
share command, which is one of the many available net services commands
present within Windows Server 2003.
NOTE
The syntax of the net share command is provided in the Microsoft help file:
net share [ShareName]
net share [ShareName=Drive
ath [{/users:Number | /unlimited}]
[/remark:ÓTextÓ] [/cache: {manual | automatic | no}]]
net share [ShareName [{/users:Number | unlimited}]
[/remark:ÓTextÓ] [/cache: {manual | automatic | no}]]
net share [{ShareName | Drive
ath} /delete]
To see a listing of all the parameters and their meanings, type the
following at the command line:
net share /?
Some Common net Services Commands in Windows Server 2003 are as follows:
Command: net accounts Description: Used to modify password and logon
settings for all accounts
Command: net config
Description: Displays or modifies the settings of available configurable
services
Command: net file
Description: Displays a listing of shared files and can close open files
Command: net help
Description: Displays a listing of network commands
Command: net send
Description: Sends a message to other users or computers
Command: net session
Description: Displays a listing of current network sessions
Command: net share
Description: Used to display, create, and modify file shares
Command: net start
Description: Used to display a listing of running services or to start an
individual service
Command: net stop
Description: Used to stop a running service
Command: net use
Description: Used to connect or disconnect from a shared resource
Shilpa Sinha
This posting is provided "AS IS" with no warranties, and confers no rights.