Code:
$FourthAveArray = "ftran1", "ftran2", "ftran3"

Global $Element

For Each $Element In $FourthAveArray
         
	 
         Shell "net use z: \\" + $Element + "\c$"  
      	 IF @ERROR <> 0
	    REDIRECTOUTPUT (failure.txt, 0)
	    ? $Element
	 Endif     
	
	 Shell "CMD.EXE /C copy c:\fspcopy\*.mdb z:\fsp\mdb /y"
	 Shell "CMD.EXE /C time /t"
	 Shell "net use z: /delete"
	 

Next


NTDOC and benny69 sorry for being so blind; i dont see very well
i have glasses and and my fonts are big so sometimes i mess up;

but benny69 here is my code that works; i finally go it to append my failure.txt file; that ping() code was nice but way to complex for me as a beginner but this code puts @Error <> 0 into failure.txt and I will add
30 more computers in my array and give her a final test but i think she is ready; simple yet powerful enough to keep my boss home while this copies mdb files to each pc in the domain effortlessly and keep track of failure to connect network mappings
yeah! merry christmas t you all
robert;D
_________________________
Robert
A+, CCNA, MCP
Network Admin
Credit Union Wisconsin