delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/29/06:13:04

X-Spam-Check-By: sourceware.org
Date: Tue, 29 May 2007 12:12:40 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problem with drive letters when running from DOS box
Message-ID: <20070529101240.GA31044@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4658FFCF DOT 2030401 AT pacific DOT net DOT sg> <20070529085303 DOT GA24606 AT calimero DOT vinschen DOT de> <465BEC54 DOT 7010601 AT pacific DOT net DOT sg>
Mime-Version: 1.0
In-Reply-To: <465BEC54.7010601@pacific.net.sg>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On May 29 13:03, Erich Dollansky wrote:
> Hi,
> 
> Corinna Vinschen wrote:
> >On May 27 07:49, Erich Dollansky wrote:
> >>
> >>I noticed a strange problem. I tried to run 'cmp' from a DOS box but it 
> >>could not find the file.
> >>
> >>cmp d:\Data\file1 e:file2
> >
> >Actually we don't expect this to work.  The DOS notion of a drive relative
> 
> it works perfectly even if the back slash is in the path.

Sure.  The backslash makes the path absolute instead of relative to the
drive's cwd.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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