Jump to content

Non English OS file path issues


Recommended Posts

Hello,

I made a small program that save a file on the users desktop.

It is working fine for all english OS.

But for some reason on non-english OS it does not work...m

Here is a part of the script:

$file=@DesktopDir &"\file.jpg";
Run('Rundll32.exe "' & @SystemDir & '\mshtml.dll",PrintHTML "' & $file & '"', @SystemDir)

When i'm using @scriptdir - it is OK, but for @desktopdir it is not...

How do I fix It?

tnx :)

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