moonman Posted October 3, 2004 Share Posted October 3, 2004 hello anybody knows a tool to set-up shares on a server thru command line??i'd like to move all the home-shares from one server to another. for security i'd use CACLS but how create the shares?is there a tool in the reskit? Link to comment Share on other sites More sharing options...
CoffeeFiend Posted October 3, 2004 Share Posted October 3, 2004 Not sure if it can be done from the command line, but it's possible to do it in vbscript with WMI. Chances are there might be 3rd party utilities that do it too. Link to comment Share on other sites More sharing options...
peachy Posted October 3, 2004 Share Posted October 3, 2004 net use x: \\servername\sharename where x: is any available drive letter. Note there is a space between the colon and the first backslash. B) Link to comment Share on other sites More sharing options...
os2fan2 Posted October 3, 2004 Share Posted October 3, 2004 net use x: \\server\share is how to connect a drive to a share net use h: \\frotto\os2fan2$How ever, if you want to create the share \\frotto\$os2fan2, you need to run this command from frotto net share os2fan$ d:\users\os2fan2The $ sign at the end of the share prevents the share comming up in the browser, but if you want to see the thing from anyone's computer, make the share without the $ sign, eg net use g: \\frotto\groupsYou can add additional flags, which are revealed via net use /? and net share /? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now