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 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: home directory Date: Wed, 19 Jan 2005 19:46:54 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Green, Keith" To: "Cygwin List" X-OriginalArrivalTime: 20 Jan 2005 00:46:54.0685 (UTC) FILETIME=[89AA98D0:01C4FE89] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j0K0r61S027441 New problem. Never had this one before. In Windows, I define the HOME variable to C:\etc. However, my cygwin.bat file reads @echo off set HOME=/home/kgreen (also tried set HOME=H:\cygwin\home\kgreen ) H: chdir H:\cygwin\bin bash --login -i and the pertinent line from /etc/passwd reads: kgreen:unused_by_nt/2000/xp:12447:10545:kgreen,U-BBB\kgreen,S-1-5-21-748114381-82326301-405542714-2447:/home/kgreen:/bin/bash BUT ... when I double click on icon (cygwin.bat), it keeps bringing me up in /usr/bin. I've tried disabling ~/.bashrc and ~/.bash_login (just in case). Same thing. The odd thing is that in the cygwin.bat file, regardless of how I set it (with POSIX or DOS path name), when the cygwin window comes up and I type echo $HOME, it has the right value in it. That is, $HOME says /home/kgreen. Also, when I put a ~/.bashrc and ~/.bash_login inside /home/kgreen, it uses them! So it's getting there somehow ... and then deciding on its own that it would rather be in /usr/bin! k -- 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/