erikson Posted February 6, 2007 Posted February 6, 2007 FileCopy ("\\server\files\vaseTvFvExt.class", "C:\WINDOWS\SYSTEM\vaseTvFvExt.class") FileChangeDir ("c:\windows\system\") Run ('java.exe vaseTvFvExt' &$number_of_license& '' ) where $number_of_license is a numeric value (its ok, i make a filewrite("file" , $number_of_license ) and it read the value proper tell me what is wrong, because when i execute the script nothing happen, and if i execute thet command from command prompt (java.exe vaseTvFvExt 10 - for example) it works great its something wrong in the syntax?
/dev/null Posted February 6, 2007 Posted February 6, 2007 FileCopy ("\\server\files\vaseTvFvExt.class", "C:\WINDOWS\SYSTEM\vaseTvFvExt.class")FileChangeDir ("c:\windows\system\")Run ('java.exe vaseTvFvExt' &$number_of_license& '' )where $number_of_license is a numeric value (its ok, i make a filewrite("file" , $number_of_license ) and it read the value propertell me what is wrong, because when i execute the script nothing happen, and if i execute thet command from command prompt (java.exe vaseTvFvExt 10 - for example) it works greatits something wrong in the syntax?I guess it's the same problem/solution as posted here: http://www.autoitscript.com/forum/index.php?showtopic=39713 __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
erikson Posted February 6, 2007 Author Posted February 6, 2007 no is not the same. i changedir to c:\windows\system in the code if i put RunWait ('java.exe vaseTvFvExt 10' ) for exwample, it works if i put RunWait ('java.exe vaseTvFvExt'& $number_of_license & '' ) don`t work $number_of_license = ControlGetText("","",@GUI_CtrlId) (the variable) if i put FileWriteLine ("c:\numarul.txt", $number_of_license) the text file look like 16 so i dont have any ideea why it doesen`t work
/dev/null Posted February 6, 2007 Posted February 6, 2007 in the code if i put RunWait ('java.exe vaseTvFvExt 10' ) for exwample, it worksif i put RunWait ('java.exe vaseTvFvExt'& $number_of_license & '' ) don`t workwell, because there is a difference! Put a space after vaseTvFvExt and it will most probably work! __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
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