Sign in to follow this  
Followers 0
erikson

run with parameter

3 posts in this topic

hi again

i have a gui that ask for username and password

i read the text enetered in some variables line

$usr = GUICtrlRead ($Input_1)

$pas = GUICtrlRead ($Input_2)

FileChangeDir ("c:\windows\system")

i run java with some paramweters ( in command line in windows i run something like C:\WINDOWS\system>java Jdhl -3 username password nula nula 1 )

in my script i must run with $pass instead of password and $usr instead of username . something like this

RunWait ("java.exe Jdhl -3 $user $pas nula nula 1" )

problem is that i cant get values of the variables in the command.

i also make something to check if

$usr = GUICtrlRead ($Input_1)

$pas = GUICtrlRead ($Input_2)

works, and it works fine

any ideas?

Share this post


Link to post
Share on other sites



RunWait ('java.exe Jdhl -3 ' & $user & ' ' & $pas & ' nula nula 1' )
thanks

it works just fne :)

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