seco Posted November 15, 2007 Share Posted November 15, 2007 Hi i run command in run like this RunWait(@ComSpec & " /c " & 'any thing you write goes good !!!!', "", @SW_SHOW) if @error Then TrayTip("error in arp funtiom","error in arp funtiom",5) EndIf i also try to set RunErrorsFatal to 0 to set @error to 1 yet nothing happen !!! any ideas ? thanks in advance. Link to comment Share on other sites More sharing options...
weaponx Posted November 15, 2007 Share Posted November 15, 2007 $result = RunWait(@ComSpec & " /c " & 'ping www.google.com', "", @SW_SHOW) ;Success = 0, Failure = 1 If $result = 1 Then MsgBox(0,"","ERROR") EndIf Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now