adamrobert
Programmer
Hi,
Initially a big thanks to 'spazmann' for his earlier assistance.
I am employing the MapNetworkDrive method to connect to a server using the code below but I can't find a method which will close the connection once my file transfer process has completed.
Set WshNetwork = WScript.CreateObject("WScript.Network"
WshNetwork.MapNetworkDrive "P:","\\SERVER\myshare", false, "username", "password"
Any advice would be really appreciated.
Cheers.
Initially a big thanks to 'spazmann' for his earlier assistance.
I am employing the MapNetworkDrive method to connect to a server using the code below but I can't find a method which will close the connection once my file transfer process has completed.
Set WshNetwork = WScript.CreateObject("WScript.Network"
WshNetwork.MapNetworkDrive "P:","\\SERVER\myshare", false, "username", "password"
Any advice would be really appreciated.
Cheers.