to RobertMo
Unfortanitly, in our company OS Windows English and Windows Russian. 'My Documents' in two languages (on diferent system). So write directly 'My Documents' isn't work in russian versions.
I did it with Automation 'Windows Scripting Host.wshShell'
Comments
Look at the
http://www.mibuso.com/forum/viewtopic.p ... light=path
that goes thru the environemt parameters, but you must set the my documents parameter to the system first.
or you could look at the:
http://www.mibuso.com/forum/viewtopic.p ... light=path
to use with registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
in the personal value that keeps the location of my documents.
Arhontis
https://forum.mibuso.com/search
Thank you
Beware that OS langauge may affect 'My Documents' is also translated. You can define multilanguage TextConstant.
The most accurate would be to read registry.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
http://msdn.microsoft.com/library/defau ... olders.asp
Unfortanitly, in our company OS Windows English and Windows Russian. 'My Documents' in two languages (on diferent system). So write directly 'My Documents' isn't work in russian versions.
I did it with Automation 'Windows Scripting Host.wshShell'
Thanks to all