delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/02/01:24:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: gilles civario <gilles DOT civario AT cea DOT fr>
Subject: Re: Doesn't chdir to /home/foo when cygwin shell is started
Date: Wed, 02 Jul 2003 07:23:30 +0200
Lines: 27
Message-ID: <bdtq8c$r8g$1@main.gmane.org>
References: <001401c3403d$460792b0$200aa8c0 AT thorin> <bdtpa4$5r2$1 AT main DOT gmane DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: fr,en
In-Reply-To: <bdtpa4$5r2$1@main.gmane.org>

Xanana Gusmao wrote:
> My initial HOME var was:
> 
> $ echo $HOME
> C:
> 
> $ export HOME=/home/foo
> Now it works but I need to add this to a startup script or something.
> 
> 
>>Is your username foo?
> 
> 
> yes
> 

You said you use a W2K machine, so :
  - Right-click on "My computer" and select "Properties"
  - Go to "Advanced" and "Environment variables"
  - There, you can set user and system variables; In the
    user section, add HOME C:\cygwin\home\foo.
The names i mentioned are some backward translations of
the one i found on me own French W2K version, so they
can slightly differ in reality.

Gilles



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019