Lam0r Posted October 22, 2010 Share Posted October 22, 2010 I am a beginner in this Progamm and my english is not well but i need help i have an script ;Delay von 1 Stunden Sleep (2000) ; 1.agBot ,2.nuConnector ,3.SRO closen ProcessClose ("nuConnector9.22.exe") ProcessClose ( "agBot.exe") ProcessClose ( "sro_client.exe") Sleep (20000) ;Starte agBot&nuConnector Run ( "C:\Program Files (x86)\Silkroad\AgBot\agBot.bat" ) but one parth of the script is that run a .bat but is dont work plz help me Link to comment Share on other sites More sharing options...
Varian Posted October 22, 2010 Share Posted October 22, 2010 (edited) Make sure the script can find the batfileIf Not FileExists("C:\Program Files (x86)\Silkroad\AgBot\agBot.bat") Then MsgBox(0, "ERROR", "Cannot find C:\Program Files (x86)\Silkroad\AgBot\agBot.bat") Else Run("C:\Program Files (x86)\Silkroad\AgBot\agBot.bat", "C:\Program Files (x86)\Silkroad\AgBot") EndIf Edited October 22, 2010 by Varian 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