Dec 7, 2001 #1 Matilde Programmer Nov 30, 2001 18 DK I'm on a local network on my school, and I would like to know how you share a folder on the local network with VBScript!
I'm on a local network on my school, and I would like to know how you share a folder on the local network with VBScript!
Dec 7, 2001 #2 shaddow Programmer Mar 22, 2001 1,862 RO Here is the example i use (map a network) Code: set wn=CreateObject("WScript.Network.1") wn.MapNetworkDrive "i:","\\computername\sharename" ________ George, M Upvote 0 Downvote
Here is the example i use (map a network) Code: set wn=CreateObject("WScript.Network.1") wn.MapNetworkDrive "i:","\\computername\sharename" ________ George, M
Dec 7, 2001 #3 FengShui1998 MIS Apr 27, 1999 705 US Matilde, For W2k: set srvObj = GetObject("WinNT://myserver/lanmanserver" set newshare = srvObj.create("fileshare", ShrName) newshare.path = "E:\dir\subdir" newshare.description = "description here" newshare.SetInfo fengshui_1998 Upvote 0 Downvote
Matilde, For W2k: set srvObj = GetObject("WinNT://myserver/lanmanserver" set newshare = srvObj.create("fileshare", ShrName) newshare.path = "E:\dir\subdir" newshare.description = "description here" newshare.SetInfo fengshui_1998