delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/01/02:27:14

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
Message-ID: <004101c23925$9d5f5900$9701320a@flareon>
From: "Hamish Fawns" <fawnha AT aie DOT act DOT edu DOT au>
To: <cygwin AT cygwin DOT com>
Subject: Executing bash commands from the bash command line
Date: Thu, 1 Aug 2002 16:35:22 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

Dear All,
    I am trying to create a "Bash Here" utility that will allow me to open a
Bash window in any directory by right clicking in the window and selecting
"Bash Here" (similar to the "Command Prompt Here" Microsoft Powertoys
utility). To do this I need to be able to cd to a given directory from the
bash command line, for example:

bash "cd /cygdrive/c/myfolder" where "myfolder is a variable.

    How can I do this?

    Thanks,
        Hamish


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

- Raw text -


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