Net share

Creates, deletes, and displays shared resources.

Syntax

 net share [sharename] net share [sharename=drive:path [/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:path] /delete] 

Parameters

 

Parameter

Purpose


None

Displays information about all resources that are currently shared on the computer.

sharename

Specifies the name assigned to the shared resource.

drive:path

Specifies the absolute path of the folder to be shared.

/users:number

Limits the maximum number of users who can simultaneously access the share.

/unlimited

Allows unlimited simultaneous access to the share.

/remark:text

Adds a comment to the shared resource.

/cache:automatic

Enables offline cache and automatic reintegration.

/cache:manual

Enables offline cache with manual reintegration.

/cache:no

Advises that offline cache is not recommended.

/delete

Terminates the sharing of a resource.



Microsoft Windows XP Professional Administrator's Guide
Microsoft Windows XP Professional Administrators Guide
ISBN: 1931841969
EAN: 2147483647
Year: 2005
Pages: 358

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net