Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: References: <001401c3403d$460792b0$200aa8c0 AT thorin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: 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/