View Single Post
  #2 (permalink)  
Old June 11th, 2003, 03:39 AM
pgtips pgtips is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Take a look at the Windows Scripting Host stuff, specifically the WshNetwork object which has methods MapNetworkDrive and RemoveNetworkDrive.

BTW if you just want to work with files on remote machines you can use the FileSystemObject which accepts UNC paths, so no need to map a drive at all.

Also, the Remote Scripting capabilities may be of interest to you - depends exactly what you want to do.

hth
Phil
Reply With Quote