This is the mail archive of the cygwin 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]

Wrong drive when chere opens cmd


I can use chere to add a "Command Prompt Here" option to the Windows Explorer to run cmd, it only works correctly on drive C. For any other drive, the prompt opens, but on the C drive. One way to fix this would be to use pushd instead of cd.

Here's the output of chere -r

$ chere -r
OS is CYGWIN_NT-6.1-WOW64
chere version 1.2
run.exe is available at C:\cygwin\bin\run.exe

--- ash keys ---

--- bash keys ---

--- cmd keys ---
Directory menu item (all users)
&Command Prompt Here

Directory command (all users)
cmd.exe /k cd %L

Drive menu item (all users)
&Command Prompt Here

Drive command (all users)
cmd.exe /k cd %L

Uninstall description
Command Prompt Here (cygwin)

Uninstall command
C:\cygwin\bin\sh -c "/bin/chere -u -s cmd"


--- dash keys ---

--- mksh keys ---

--- pdksh keys ---

--- posh keys ---

--- tcsh keys ---

--- zsh keys ---

--- passwd keys ---


Thanks

Jonathan Reeve



This e-mail from Practical Law Company (http://www.practicallaw.com) is subject to our terms of use (http://www.practicallaw.com/1-386-5598). Information about our companies: Practical Law Company Limited. Registered in England and Wales. Registered Number: 02889191. Registered Office: 19 Hatfields, London SE1 8DJ. Telephone: +44(0)20 7202 1200.
Practical Law Company, Inc. Incorporated in Delaware, USA.  Corporate Office: 747 Third Avenue, 36th Floor, New York, NY 10017. Telephone: +1(646) 562-3400.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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