October 3, 200421 yr 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?
October 3, 200421 yr 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.
October 3, 200421 yr 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)
October 3, 200421 yr 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 /?
Create an account or sign in to comment