Jump to content

run with parameter


erikson
 Share

Recommended Posts

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...