Jump to content
Sign in to follow this  
Guest 2haerim

Non-English path handling problem

Recommended Posts

Guest 2haerim

The following code is to generate an A.EXE file and it will be linked inside a web page. So when someone clicks A.EXE link, it will be downloaded to the @TempDir folder and will execute "winvnc.exe" using "Run" function.

$execdir = @TempDir & "\"

FileInstall("winvnc.exe", $execdir, 1)

;--------------------------------------------------

; RUN WINVNC SC

;--------------------------------------------------

Run($execdir & "winvnc.exe " & " -connect 210.240.75.244:5500 -noregistry", $execdir)

This code perfectly works except when @TempDir has non-english charactes. For example, Korean.

FileInstall function does not copy "winvnc.exe" into @TempDir and as a result, Run fails to find it.

Can anyone fix this problem?

If so, please send me the answer to ehaerim@gmail.com.

Thx.

Share this post


Link to post
Share on other sites
jpm

thats a support topic not a "Bug report" one :P

Share this post


Link to post
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
Sign in to follow this  

×