This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
"empty" or "not set" ?I tested this again. After starting a "local" bash (local means i start
it via doubleclick from within windows) i can see a "USERPROFILE"
env.-var.
If i do this in an bash started remotely (via sshd) i can't see it anymore. So i think this variable comes from Explorer of whatever and is not initialized within a ssh-shell session. This is also reflected by "cygpath -D" which outputs "/cygdrive/c/%USERPROFILE%/Desktop".
I found no trace where this var is set, so please give me a hint.
It's set inside of Cygwin if possible. It opens the registry and tries to read the following key:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$USERNAME\ProfileImagePath
If it's available, it's used as $USERPROFILE, otherwise $USERPROFILE stays empty.
Oliver Geisen --------------------------------------- Systemadministrator Kreisboten Verlag Mühlfellner KG Telefon: 0881/686-63 Telefax: 0881/686-74 Mail: technik@kreisbote.de ---------------------------------------
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |