erikson Posted January 30, 2007 Share Posted January 30, 2007 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 More sharing options...
Uten Posted January 30, 2007 Share Posted January 30, 2007 RunWait ('java.exe Jdhl -3 ' & $user & ' ' & $pas & ' nula nula 1' ) Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
erikson Posted January 30, 2007 Author Share Posted January 30, 2007 RunWait ('java.exe Jdhl -3 ' & $user & ' ' & $pas & ' nula nula 1' ) thanks it works just fne 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