RE: $HOME Directory Relocation

2002-02-06 Thread Joshua Franklin
> 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

RE: $HOME Directory Relocation

2002-02-06 Thread "Schaible, Jörg"
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

Re: $HOME Directory Relocation

2002-02-05 Thread Andrew DeFaria
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

Re: $HOME Directory Relocation

2002-02-05 Thread Michael A Chase
- 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

Re: $HOME Directory Relocation

2002-02-05 Thread Greg Mosier
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

Re: $HOME Directory Relocation

2002-02-05 Thread Benoit Rochefort
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

Re: $HOME Directory Relocation

2002-02-05 Thread Michael A Chase
- 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 >

Re: $HOME Directory Relocation

2002-02-05 Thread Benoit Rochefort
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

Re: $HOME Directory Relocation

2002-02-05 Thread Benoit Rochefort
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

$HOME Directory Relocation

2002-02-05 Thread Markus Hoenicka
Look at /etc/profile. This uses $HOME if it is set under Windows, otherwise it uses /home/$USER. You can certainly tweak this to your needs. A simpler option may be to mount your new disk on /home, then you don't have to fiddle with $HOME. regards, Markus Laurence F. Wood writes: > Hello, >

Re: $HOME Directory Relocation

2002-02-05 Thread Michael A Chase
ygwin@Cygwin. Com" <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 13:09 Subject: $HOME Directory Relocation > I needed to relocate the $HOME directory to another disk volume. Under > linux the login process sets this. Who/what sets $HOME under cygwin? -- Unsubscribe info:

$HOME Directory Relocation

2002-02-05 Thread Laurence F. Wood
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? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http: