View Single Post
  #1 (permalink)  
Old June 10th, 2003, 11:20 AM
delcyan delcyan is offline
Authorized User
 
Join Date: Jun 2003
Location: St-Laurent, Quebec, Canada.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mapping and Connecting to other machine

Hello All,

I have an application that runs overnight and need to connect to all servers and do someting.

I have a batch file which consist of the following examples:

rem *** ST01A02 ***
map root t:=\\st01a02\sys
t:
purge *.* /a

map root t:=\\st01a02\data02a
t:
purge *.* /a

map root t:=\\st01a02\data02b
t:
purge *.* /a

This batch file map to the machine and give it a letter t.

Is there a way to map and connect to servers in VB, do someting (run application) and then disconnect from that machine and repeat this process as needed?

Thank you



A.Delcy
Web Administrator
Canada
__________________
A.Delcy
Developer
Canada
Reply With Quote