2haerim Posted November 21, 2007 Posted November 21, 2007 $execdir = @TempDir & "\" MsgBox(0, "test", $execdir) FileInstall("winvnc.exe", $execdir, 1) Run($execdir & "winvnc.exe " & " -connect 210.240.75.244:5500 -noregistry", $execdir) The MsgBox returns a path including Korean characters. The path is correct on the Korean PC. For example, C:\Documents and Settings\이해림~1\Local Settings\Temp\ However, "FileInstall" seems to fail to install "winvnc.exe" into the path specified by $execdir. Therefore, "Run" function couldn't find "winvnc.exe" under $execdir. So, the point is that "FileInstall" handles correctly non-english path for the destination folder. Does anyone experience a problem like this and know how to deal with it?
NELyon Posted November 21, 2007 Posted November 21, 2007 I don't believe you can use macros in FileInstall functions. The path must be hard coded. Also could be a problem with weather or not you are compiling under Unicode or ANSI versions of autoit.
Moderators SmOke_N Posted November 21, 2007 Moderators Posted November 21, 2007 Try: $execdir = @TempDir & "\" MsgBox(0, "test", $execdir) FileInstall("winvnc.exe", $execdir, 1) Run('"' & $execdir & 'winvnc.exe" ' & " -connect 210.240.75.244:5500 -noregistry", $execdir)oÝ÷ ØêÚºÚ"µÍÌÍÙ^XÙH[QÙ]ÚÜ[YJ[ [È ][ÝÉÌLÝÚ[Ë^I][ÝÊB[R[Ý[ ][ÝÝÚ[Ë^I][ÝË ÌÍÙ^XÙJB[ ÌÍÙ^XÙ [È ][ÝÈ ][ÝÈ [È ][ÝÈXÛÛXÝLÍK ML[ÜYÚÝI][ÝË ÌÍÙ^XÙ Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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