Link to home
Start Free TrialLog in
Avatar of mkhalidmn
mkhalidmn

asked on

sharing more than one folder by suing few steps..


i want to share 100 folders by just using few steps .. how can i do this ?

i know i could put them in one folder and then share it... but any other way?
Avatar of Yan_west
Yan_west

You got it, put them all in a folder, and share this folder..

If you want to do it the other way, right click on each folder, and share them one by one.. it'S the only way to go..
For windows machines I believe you can create shares using the "net share"

The syntax of this command is:


NET SHARE sharename
          sharename=drive:path [/USERS:number | /UNLIMITED]
                               [/REMARK:"text"]
                               [/CACHE:Manual | Automatic | No ]
          sharename [/USERS:number | /UNLIMITED]
                    [/REMARK:"text"]
                    [/CACHE:Manual | Automatic | No ]
          {sharename | devicename | drive:path} /DELETE

NET SHARE makes a server's resources available to network users. When
used without options, it lists information about all resources being
shared on the computer. For each resource, Windows reports the
devicename(s) or pathname(s) and a descriptive comment associated with it.

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 can
                   simultaneously access the shared resource
/REMARK:"text"     Adds a descriptive comment about the resource.
                   Enclose the text in quotation marks.
devicename         Is one or more printers (LPT1: through LPT9:)
                   shared by sharename.
/DELETE            Stops sharing the resource.
/CACHE:Automatic   Enables offline client caching with automatic reintegration
/CACHE:Manual      Enables offline client caching with manual reintegration
/CACHE:No          Advises client that offline caching is inappropriate

NET HELP command | MORE displays Help one screen at a time.
then you can create batch files.  You could probably do this with a vbs or javascript too.
Avatar of mkhalidmn

ASKER

but how Adamdrayer...

i m not good in vbs ...
ASKER CERTIFIED SOLUTION
Avatar of adamdrayer
adamdrayer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial