chorao157 Posted September 7, 2010 Share Posted September 7, 2010 I managed to create the launcher on. bat how can I create in autoit? Bat Version start client.exe ur;name=test;ip=190.72.177.137;port=8888 Link to comment Share on other sites More sharing options...
Varian Posted September 7, 2010 Share Posted September 7, 2010 Seriously? Run("client.exe ur;name=test;ip=190.72.177.137;port=8888") Link to comment Share on other sites More sharing options...
chorao157 Posted September 7, 2010 Author Share Posted September 7, 2010 I already tried this sort does not work more ... Link to comment Share on other sites More sharing options...
Varian Posted September 7, 2010 Share Posted September 7, 2010 What is the working folder? Maybe you need to specify the complete path to client.exe, or at least add the working folder to the Run line. Link to comment Share on other sites More sharing options...
chorao157 Posted September 7, 2010 Author Share Posted September 7, 2010 Link to comment Share on other sites More sharing options...
Varian Posted September 7, 2010 Share Posted September 7, 2010 Is your script in the same folder? What happens when you execute the script? Are you able to execute any AutoIT scripts? What happens when you run the batch file...do any winows appear that verify that is is running? Post your code if you need more help... Link to comment Share on other sites More sharing options...
chorao157 Posted September 7, 2010 Author Share Posted September 7, 2010 Is your script in the same folder?YeahWhat happens when you execute the script?nothingAre you able to execute any AutoIT scripts?yeahWhat happens when you run the batch file...do any winows appear that verify that is is running?cmd appears and disappears quickly, and the client opens Post your code if you need more help... //I tried to shellexecute, defining the parameters, I tried to RUN and nothing has not worked ... Link to comment Share on other sites More sharing options...
Varian Posted September 7, 2010 Share Posted September 7, 2010 (edited) if you remove the "start" from the batch script, will client.exe still run? You can also try Run(@Comspec & " /c client.exe ur;name=test;ip=190.72.177.137;port=8888", "") I would put the full path to client.exe to make sure there is no error finding it Edited September 7, 2010 by Varian Link to comment Share on other sites More sharing options...
chorao157 Posted September 7, 2010 Author Share Posted September 7, 2010 yes .... it works without. bat, the. bat only serves for the client. exe from that IP, and as if. bat was injected ip in client.exe .... the script works, most not close the cmd Link to comment Share on other sites More sharing options...
Varian Posted September 7, 2010 Share Posted September 7, 2010 Are you saying that the cmd window MUST remain open? You can do Run(@Comspec & ' /c "FullPathToclient.exe" ur;name=test;ip=190.72.177.137;port=8888', "", @SW_HIDE) to hide the cmd window if the script now works Link to comment Share on other sites More sharing options...
chorao157 Posted September 7, 2010 Author Share Posted September 7, 2010 mmmmm... thx for help me 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