xtrim 0 Posted April 1, 2011 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
UEZ 1,278 Posted April 1, 2011 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
xtrim 0 Posted April 1, 2011 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
hannes08 39 Posted April 1, 2011 $file= @DesktopDir & "\file.jpg" ConsoleWrite($file & @CRLF) _ScreenCapture_Capture($file) ... worked just right for me on a german XP system. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Share this post Link to post Share on other sites