Jump to content

Another NET SHARE Question


HorseloverFat

Recommended Posts

Hello again, I have another question about sharing folders via the command line...

Is it possible to enable file sharing in general via the command line, or, failing that, with a registry edit?

I'm trying to design a batch script that will share a drive on my computer automatically, which will be run on first logon during an unattended installation.

The problem is, when I share the drive via Net Share in the batch file, the drive appears to be shared, it has the hand below the icon, but remote computers can't connect to the local computer at all until I go to Sharing and Security for the shared drive and click the "I understand the risks but blah blah blah enable file sharing" option.

So, I'm just wondering if there's a command or reg edit that will take care of this for me.

Thanks!

Link to comment
Share on other sites


Why do you not search Google?

Why do you make a new topic for every new sudden curiosity?

Umm, because I've been trying to find it on Google already without any success? Do you really think that I would wait for a response to something in a forum without attempting to find it on Google first?

Correct me if I'm wrong, but is this or is this not a Software Discussion and SUPPORT forum? I was under the impression that this was an appropriate place to ask questions of this nature. It's not like I've flooded the board with new topics or anything, either - this is my second thread in this forum. If my threads annoy you for some reason, feel free to not read them.

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...