delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/29/05:03:41

X-Spam-Check-By: sourceware.org
Message-ID: <465BEC54.7010601@pacific.net.sg>
Date: Tue, 29 May 2007 13:03:16 +0400
From: Erich Dollansky <oceanare AT pacific DOT net DOT sg>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: problem with drive letters when running from DOS box
References: <4658FFCF DOT 2030401 AT pacific DOT net DOT sg> <20070529085303 DOT GA24606 AT calimero DOT vinschen DOT de>
In-Reply-To: <20070529085303.GA24606@calimero.vinschen.de>
X-IsSubscribed: yes
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

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.

> working directory isn't supported by Cygwin.  You should rather use POSIX
> paths anyway (cmp /cygdrive/d/Data/file1 /cygdrive/e/file2).
> 
I did not know that this works when I start the program from a DOS box.

Erich

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