X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:date:subject:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=Mg6 Bubp/IoqtrPA+PvsEVE15sQ/gW+meXDNDE/GIcbecTABxYrHFwNX7W1nuxjX+lnX MsQF8jl3QIjBEukZ/nQTnD18OloCEsaRvGolWCEF9QFLnHQB0acAQGTkKcZdy8Qv TcrP3jAo2l5oqe6JBNUeZHKcu6phc00S3K+1ttYc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:date:subject:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=fWaJ7+CYW qT9eawA4+fARL3jP+Q=; b=cx4LBeKQ8Wc5cu0hIcok194O95MNfM4cD1uiQmNmo 2V9bmqeV6P9BUM8kvse/dT4IiAZeEAJrDzGpjCFCfWlBUQvcr/XIlV8YQA7XR5e7 01IvvP9Mg2sncRmFCDHfO99eav1G+RH/4P0wK/y0BjcrZ3nDDfKGAY9Jwg7KV7YF 9U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,TW_PD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Env-Sender: Jonathan DOT Reeve AT Practicallaw DOT com X-Msg-Ref: server-16.tower-84.messagelabs.com!1364315521!24061218!1 X-StarScan-Received: X-StarScan-Version: 6.8.6.1; banners=-,-,- X-VirusChecked: Checked From: Jonathan Reeve To: "cygwin AT cygwin DOT com" Date: Tue, 26 Mar 2013 16:32:00 +0000 Subject: Wrong drive when chere opens cmd Message-ID: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r2QGXdsk029124 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