Jump to content
Sign in to follow this  
xtrim

Non English OS file path issues

Recommended Posts

xtrim

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 :)

Share this post


Link to post
Share on other sites
xtrim

I tried it, but then it wont pass the "_ScreenCapture_Capture($file)" function for some reason...

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.