NIM Posted August 6, 2006 Posted August 6, 2006 DomainName = InputBox("Enter domain name")ServerName = InputBox("Enter server name")ShareName = InputBox("Enter share name to be deleted")Set cont = GetObject("WinNT://"& DomainName &"/"& ServerName &"/LanmanServer,FileService")cont.Delete "FileShare", ""& ShareName &"" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.