Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sharing homefolder

45 views
Skip to first unread message

MK

unread,
Nov 18, 2002, 3:34:08 AM11/18/02
to
Hi
Is there anyone who have VB6 code to share folders on a W2K server

MK


Torgeir Bakken (MVP)

unread,
Nov 21, 2002, 2:06:48 PM11/21/02
to
MK wrote:

> Hi
> Is there anyone who have VB6 code to share folders on a W2K server

Hi

You can do it using ADSI:

How to Create User Shares for All Users in a Domain with ADSI
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q234746


You may take a look at this threads for some more info:

From: Marty Henderson (Mar...@pchcall.com)
Subject: Create Network Share
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.scripting.wsh
Date: 2001-05-30 15:34:07 PST
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=412e06226f9dbe15

From: Dan (daniel...@unisys.com)
Subject: Create Share - Set Permission HOWTO ?
Newsgroups: microsoft.public.scripting.wsh
Date: 2001-03-20 01:10:07 PST
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=d7835071292e5d7c


From the ADSI FAQ at Clarence's website:
http://cwashington.netreach.net/main/default.asp?topic=library

Creating a Share with ADSI
How do I create a share using ADSI?

Set FservObj = GetObject("WinNT://ComputerName/lanmanserver")

set newshare = FservObj.create("fileshare","test")
newshare.path = "C:\temp"
newshare.setinfo
Set newshare = nothing


--
torgeir
Microsoft MVP Scripting and WMI
Porsgrunn Norway


0 new messages