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@pacific.net.sg>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: problem with drive letters when running from DOS box
References: <4658FFCF.2030401@pacific.net.sg> <20070529085303.GA24606@calimero.vinschen.de>
In-Reply-To: <20070529085303.GA24606@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

