Jul 31, 2001 #1 infojens Programmer Jul 31, 2001 3 DK Is it possibly to share/unshare af drive/folder with vbs ?
Jul 31, 2001 #2 FengShui1998 MIS Apr 27, 1999 705 US infojens, This is for W2K: Server = "YourServer" Set FservObj = GetObject("WinNT://" & Server & "/lanmanserver" Set newshare = FservObj.Create("fileshare", YourShareName) newshare.path = "C:\YourPathName" newshare.description = "description text" newshare.SetInfo Cheers, fengshui1998 Upvote 0 Downvote
infojens, This is for W2K: Server = "YourServer" Set FservObj = GetObject("WinNT://" & Server & "/lanmanserver" Set newshare = FservObj.Create("fileshare", YourShareName) newshare.path = "C:\YourPathName" newshare.description = "description text" newshare.SetInfo Cheers, fengshui1998