By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,131 Members | 1,424 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,131 IT Pros & Developers. It's quick & easy.

How do I create a share and set the rights?

P: n/a

I have to write a program that should create a new directory ("c:\test") and
share that directory with read-access for everyone and read-write-access for
administrators. How do I do that in VB.NET?

It would help me to have the answer to the question above, but what I'd
really like would be if that was possible remote, too. I mean something like
this: A user is logged with Domain-Administrator rights on on a W2k
Workstation which is a member of a AD-Domain. The user starts my program and
this program should create a new directory on the AD-Controller (!!!), copy
files into that directory, share that directory and set the rights to
read-only for everyone and rw for admins. Can that be done with VB.NET, too?
If so, how?

Thanks in advance,
Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.