Sign in to follow this  
Followers 0
xtrim

Non English OS file path issues

4 posts in this topic

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



try

$file= '"' & @DesktopDir & "\file.jpg" & '"'

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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  
Followers 0