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($execdir & "winvnc.exe " & " -connect -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.


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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...