Sign in to follow this  
Followers 0
chorao157

How do i creat laucher?

11 posts in this topic

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

Share this post


Link to post
Share on other sites



Seriously?

Run("client.exe ur;name=test;ip=190.72.177.137;port=8888")

Share this post


Link to post
Share on other sites

I already tried this sort does not work more ...

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

Is your script in the same folder?

Yeah

What happens when you execute the script?

nothing

Are you able to execute any AutoIT scripts?

yeah

What 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 ...

Share this post


Link to post
Share on other sites

#8 ·  Posted (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 by Varian

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

mmmmm... thx for help me

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0