Groups | Blog | Home
all groups > sql server clients > april 2004 >

sql server clients : Share the folder from MS DOS


Noorali Issani
4/5/2004 4:49:32 PM
How can we share any folder from MS DOS command, can any body tell me
regarding this

Thanks
NOOR

Hari
4/5/2004 5:48:29 PM
Hi Noor,

Use NET SHARE command to create / delete and view the shares from command
prompt.


Usage
--------
net share sharename

net share sharename=drive:path [/users:number | /unlimited] [/remark:"text"]

net share sharename [/users:number | unlimited] [/remark:"text"]

net share {sharename | drive:path} /delete

Parameters - Explanation

----------------------------------

none

Type net share without parameters to display information about all resources
being shared on the local computer.

sharename

Is the network name of the shared resource. Type net share with a sharename
only to display information about that share.

drive:path

Specifies the absolute path of the directory to be shared.

/users:number

Sets the maximum number of users who can simultaneously access the shared
resource.

/unlimited

Specifies an unlimited number of users who can simultaneously access the
shared resource.

/remark:"text"

Adds a descriptive comment about the resource. Enclose the text in quotation
marks.

/delete

Stops sharing the resource.


Thanks
Hari
MCDBA


[quoted text, click to view]

Noorali Issani
4/5/2004 6:17:02 PM
Thanks Hair, but I want to do web share through DOS mode ?

Thanks
NOOR
[quoted text, click to view]

AddThis Social Bookmark Button