oNet = CREATEOBJECT("Wscript.Network") oNet.MapNetworkDrive("V:", "\\Server\Volume\dir", .F., "UserName", "Pasword")to disconnect:
oNet = CREATEOBJECT("Wscript.Network") oNet.RemoveNetworkDrive('V:')>Does anybody can share a code that can programmatically set/unset file shares in an intranet? Or anybody can provide a link where i can read some information.