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]

RE: bash incorrectly determines HOME and HOMEDRIVE




> -----Original Message-----
> Larry Hall
> Sent: Thursday, March 25, 2004 5:21 PM

> Subject: RE: bash incorrectly determines HOME and HOMEDRIVE
> 
> 
> At 05:14 PM 3/25/2004, you wrote:
> 
> 
> 
> >> -----Original Message-----
> >>  Larry Hall
> >> Sent: Thursday, March 25, 2004 5:04 PM
> >>
> >>> Subject: Re: bash incorrectly determines HOME and HOMEDRIVE
> >>
> >>
> >> Larry Hall WroteK
> >>
> >> HOMEDRIVE is set by Windows.  You don't have to set it.  And 
> bash wouldn't
> >> know HOMEDRIVE from a hole in the wall. ;-)
> >>
> >That is what I thought but I can definitely reproduce this 
> behaviour on XP.
> >I set HOMEDRIVE in H: in windows and then run bash and its reset to C:.
> >Definitely strange. Not that I really care since I don't use it for
> >anything.  BTW, It is possible to change it in the ".bashrc" file
> 
> 
> Don't set it at all and set what it looks like in cmd.exe.  
> You'll see it's
> set and will be C: too.  
> 
Bingo. Whew that makes a lot more sense.  Been a long day.

> You can set any environment variable to anything you want in .bashrc.
> Have at it! ;-)
> 
> 
> 
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746                     
> 
> 
> --
> 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/
> 
> 

--
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]