Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Originating-IP: [64.229.101.142] From: "Guansong Zhang" To: Subject: set HOME environment Date: Mon, 11 Sep 2000 16:26:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: X-OriginalArrivalTime: 11 Sep 2000 20:20:29.0901 (UTC) FILETIME=[BAC5DFD0:01C01C2D] Hi, I used to used the following line to set HOME and CYGWIN in bash.bat set HOME=%USERPROFILE% set CYGWIN=tty ntea So I don't need to use mouse click to change env I don't know when bash.bat is changed to use --login -i but it will be a problem if my system dir is not C: it seems bash can not set the HOME in this case. I modify the bat to this, (in this case e: is my system drive) @echo off set HOME=%USERPROFILE% set CYGWIN=tty ntea rem e: rem chdir \cygwin\bin chdir /d %USERPROFILE% e:\cygwin\bin\bash --login -i I still get [: too many arguments bash: cd: /cygdrive/e/Documents: No such file or directory As error message. but everything else seems OK. Hope no one need to do this change next time. Cheers, Guansong -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com