Jump to content

shares thru command line?


Recommended Posts


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

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\os2fan2

The $ 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\groups

You can add additional flags, which are revealed via net use /? and net share /?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...