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: =?ISO-8859-1?Q?Maur=EDcio?= <briqueabraque AT yahoo DOT com> Subject: Starting bash in directory Date: Thu, 23 Jan 2003 08:49:49 -0200 Lines: 22 Message-ID: <b0oh76$rcq$1@main.gmane.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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.2.1) Gecko/20021130 X-Accept-Language: en-us, en Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0NB1ua12807 Hi, Cygwin installation creates a shortcut that runs bash like this: bash -i --login However, I would like to start bash so that after starting it would go to a specific directory. For instance, I would like to run something like: bash -i --login "cd d:\users" so that bash would start and then execute "cd d:\users" before the user starts typing anything. This would be equivalent to the WinNT command: cmd /k "cd d:\users" Do you guys know if that's possible? Thanks, Maur�cio -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/