Quote:

FourthAveArray = "ftran1", "ftran2", "ftran3"

For Each $Element In $FourthAveArray


Shell "net use z: \\" + $Element + "\c$"
;if connection error, push pcname to failure.txt
;else if no error push pcname to success.txt
Shell "CMD.EXE /C copy c:\fspcopy\*.mdb z:\fsp\mdb /y"
Shell "CMD.EXE /C time /t"
Shell "net use z: /delete"


Next


benny69 this is my coding!
except the lines commented out.

it loops until array is empty and
at each loop it runs shell commands (or dos commands)
like this:
maps drive z
copies mdb files
removed mapped drive
loop back and do for next pcname
get it