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 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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/