I was just wondering if there was a way to share a folder on another machine from the command line. Explorer doesn't seem to let you, but the old File manager (winfile) does. I need to do this from the command line though. I tried several methods including UNC path and mapping a drive to the other computer. For instance:
net share myshare=\\myserver\e$\mydir
net share myshare=f:\mydir
neither of which worked. Is there another way to get around this?
What I'm trying to do is simply automate some folders and shares we create when we make a new user here. I'm going to be doing this with Perl and would rather avoid using the Perl NT module if at all possible. I've had nothing but problems with that.
The other part of the question is, is there a command line way to control the share permissions and the regular directory permissions as well?
Thanks for the help in advance. :)