How to create a file on users XP desktop
Tim Chase
python.list at tim.thechases.com
Sun Oct 7 12:47:02 EDT 2007
> You are assuming the system is not localized, that won't work if you
> distribute your applications internationally. In my system it is not
> "Desktop", it is "Escritorio", and I guess it will vary with every
> locale. Does someone know a way to find out what name does the desktop
> have?
I believe you need to read the Desktop value from
"""
HKEY_CURRENT_USER\software\microsoft\windows\currentversion\explorer\shell
folders
"""
which should (in my understanding) hold the full path of the
particular folder(s) of interest at that location, including
across localizations.
-tkc
More information about the Python-list
mailing list