delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/26/22:20:50

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=fkgIXQfHB3v1dtAc
F2sBKQjH9HxOT6H0v+LSVIAQm8cTlnVjyBqsGjRHlHLAiLYc0qKoHrMc4P+8dgIJ
ebFdLA/amoY1k82HTw0mP2yD/OZ2DXP0Fu+gmnHOA7nZTlNUisvLtA0OSc4D12+C
RebO/1uBa2FVjtpVWEf+5aIk6yM=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=qiWle8KC+9BTonUPC5J8l8
aq05c=; b=aufMVG174NCtH79tDu3lg3/DjsJ5eGtrfHeTHp/9YtEXBCNlSs1w+d
llJzsEI1my9RmChN3lF5LITHqf8j6zOHjqKsHXoPbQAaP+hfH3923LtE9Q3WcPo8
RDhgF6GI8g5YoSuUaAc7TNyARf5SGqbjKF/u30KViepfm0ZTB1M3w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL,TW_PD autolearn=no version=3.3.1
Date: Wed, 27 Mar 2013 06:11:46 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1378239969.20130327061146@mtu-net.ru>
To: Jonathan Reeve <Jonathan DOT Reeve AT Practicallaw DOT com>, cygwin AT cygwin DOT com
Subject: Re: Wrong drive when chere opens cmd
In-Reply-To: <B518076BDB87FD4BAA8BFEA53F22CECA166BDEECF9@ldnex01.Practicallaw.com>
References: <B518076BDB87FD4BAA8BFEA53F22CECA166BDEECF9 AT ldnex01 DOT Practicallaw DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Jonathan Reeve!

> 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

CD /D .........
It's even in CMD help... how did you missed it?

> 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



--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 27.03.2013, <06:10>

Sorry for my terrible english...


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

- Raw text -


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