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: home directory.


Vince Hoffman wrote:

On Wed, 16 Jun 2004, Chris W wrote:



It seems that somewhere $HOME is getting set to /cygdrive/c.  I want it
to be /home/$USER like the /etc/profile would set it to if it wasn't
already set to /cygdrive/c.  So where do I change that?



Have a look at your windows environment variables. (type set from a
windows command prompt) or to see and change them (if on 2k/xp not sure
for 9x its been too long,) right click "my computer", select
properties, then select the "advanced' tab, then select environment
variables.



I run set|grep HOME and sure enough HOME is set to cygdrive/c. So I go to the environment vars from the my computer properties dialog but I can't find an entry for HOME in fact when I type set I get a MUCH longer list of environment vars than I see in the dialog box. I also looked in the cygwin.bat file and all that is in there is this...
@echo off


C:
chdir \cygwin\bin

bash --login -i

so where might that HOME var be getting set? BTW I am runing win2k


-- Chris W

Bring Back the HP 15C
http://hp15c.org

Not getting the gifts you want?  The Wish Zone can help.
http://thewishzone.com



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