This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Executing bash commands from the bash command line


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]