> COMMON_DESKTOP=`regtool get
>
'\HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
> Folders\Common Desktop'`
> ALLHOME=`cygpath -u "$COMMON_DESKTOP/../.."`
Don't know if you care, but the latest version of
cygpath has -D and -A options that will output the
"All Users' Desktop"
dire
Hi Laurence,
I tried to correlate Window's home and Cygwin's home by the following lines
in /etc/profile. I end up mounting /home to the "Profile" directory of
Windows (wherever it may be in the different versions) and set home
according to $USERPROFILE that is set by the system. This gives a qui
Michael A Chase wrote:
>> Since no login occurs, place it in your batch file calling bash, or in
>> /etc/profile like I do. Here is my /etc/profile that correct many such
>> environment variable problems I found over the time:
> The problem with setting HOME to a fixed value in cygwin.bat or
- Original Message -
From: "Greg Mosier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 13:55
Subject: Re: $HOME Directory Relocation
> From: "Michael A Chase" <[EMAIL PROTECTED]>
> Subject: Re: $HOME Directory
From: "Michael A Chase" <[EMAIL PROTECTED]>
Subject: Re: $HOME Directory Relocation
> The problem with setting HOME to a fixed value in cygwin.bat or
/etc/profile
> is that limits your cygwin installation to a single user. That's why the
> default /etc/profile all
Michael A Chase writes:
| - Original Message -
| From: "Benoit Rochefort" <[EMAIL PROTECTED]>
| To: "Laurence F. Wood" <[EMAIL PROTECTED]>
| Cc: "Cygwin@Cygwin. Com" <[EMAIL PROTECTED]>
| Sent: Tuesday, February 05, 2002 13:11
| Subject: R
- Original Message -
From: "Benoit Rochefort" <[EMAIL PROTECTED]>
To: "Laurence F. Wood" <[EMAIL PROTECTED]>
Cc: "Cygwin@Cygwin. Com" <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 13:11
Subject: Re: $HOME Directory Relocation
>
Benoit Rochefort writes:
| Since no login occurs, place it in your batch file calling bash, or in
| /etc/profile like I do. Here is my /etc/profile that correct many such
| environment variable problems I found over the time
Please note that with my /etc/profile, I can easily "change" identity, t
Laurence F. Wood writes:
| Hello,
|
| I needed to relocate the $HOME directory to another disk volume. Under
| linux the login process sets this. Who/what sets $HOME under cygwin?
Since no login occurs, place it in your batch file calling bash, or in
/etc/profile like I do. Here is my /etc/pro
If you are using bash it's done by /etc/profile, normally based on the
contents of /etc/passwd. If you have set the windows environment variable
HOME, it is passed through.
Short answer: set HOME in your windows per user environment.
--
Mac :})
** I normally forward private questions to the app
10 matches
Mail list logo