Autor Beitrag
arj
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 378

Win XP/Vista, Debian, (K)Ubuntu
Delphi 5 Prof, Delphi 7 Prof, C# (#Develop, VS 2005), Java (Eclipse), C++, QT, PHP, Python
BeitragVerfasst: Fr 03.08.07 14:52 
Hi,

Kennt jemand eine Möglichkeit den Pfad zu "C:\Dokumente und Einstellungen\arj\Lokale Einstellungen" in einer Umgebungsvariable
oder per WinAPI zu erhalten?

Es scheint dafür keine Umgebungsvariable zu geben.
Es gibt zwar %USERPROFILE% was allerdings nur "C:\Dokumente und Einstellungen\arj" zurückgibt.
Und da die Lokalen Einstellungen immer unterschiedliche Namen haben (z.B. bei englischem/französischem Windoof)
wäre es nicht schlecht wenn man das irgendwie herausbekommen könnte.
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Fr 03.08.07 15:06 
Moin!

FAQ :mahn: :les: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
arj Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 378

Win XP/Vista, Debian, (K)Ubuntu
Delphi 5 Prof, Delphi 7 Prof, C# (#Develop, VS 2005), Java (Eclipse), C++, QT, PHP, Python
BeitragVerfasst: Fr 03.08.07 15:13 
Danke für den Tipp ;)

Wusste nicht dass das in den FAQs drin steht (und habs auch nicht gefunden mit meinen Suchbegriffen ;) )
Für alle die auch danach suchen:
CSIDL_LOCAL_APPDATA
ist der richtige Parameter.
hathor
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 03.08.07 15:17 
arj Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 378

Win XP/Vista, Debian, (K)Ubuntu
Delphi 5 Prof, Delphi 7 Prof, C# (#Develop, VS 2005), Java (Eclipse), C++, QT, PHP, Python
BeitragVerfasst: Fr 03.08.07 15:18 
Kann mir jemand den Wert der Variable CSIDL_LOCAL_APPDATA sagen?
In Delphi7 gibts den leider noch nicht :-(

Grad gefunden :)
Danke hathor

CSIDL_LOCAL_APPDATA = $001C;