If I try Shawn's advise
Code:

Break On
Shell "PING "+@WKSTA
? @ERROR": "@SERROR
Shell "PING 192.168.222.3"
? @ERROR": "@SERROR


I know that 192.168.222.3 is non-existant
The @ERROR is 1 and @SERROR tells me the function is wrong.


Edited by Witto (2005-08-12 12:36 PM)