Jump to content

FileInstall bug with non-english destiination path


2haerim
 Share

Recommended Posts

$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?

Link to comment
Share on other sites

  • Moderators

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.

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...