delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/17/06:54:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <39EC30A8.99BB455D@ision.net>
Date: Tue, 17 Oct 2000 12:57:44 +0200
From: Benjamin Riefenstahl <Benjamin DOT Riefenstahl AT ision DOT net>
Organization: ISION Internet AG
X-Mailer: Mozilla 4.05 [en] (Win16; I)
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Treatment of x:path again
References: <Pine DOT LNX DOT 3 DOT 95a DOT 1001017032544 DOT 12122B-100000 AT lxplus006 DOT cern DOT ch>

Hi Lassi,

Lassi A. Tuura wrote:
> FWIW, it seems this isn't even possible under Win32.  Based on MSDN docs
> it sounds like Win32 maintains only one current directory and really
> knows nothing about disk drives in that context.

Indeed, a simple test on NT4/SP6 using only Win32 functions
SetCurrentDirectory() and GetCurrentDirectory() confirms that Windows
itself does not care about drives in this context.

> It is only cmd.exe that maintains an illusion of a current
> directory for all the drives on Windows NT and 2000.

Actually I have seen code in Borland's runtime that maintains the
illusion of a per-drive current directory.  This of course is in runtime
functions like chdir() and getcwd() and similar ones.  I assume
Microsoft's runtimes do the same.  Cygwin's, as we have heard, doesn't
(understandably (sp?)).  Neither does the internal Tcl runtime BTW.

so long, benny
-- 
ISION Internet AG
Benjamin Riefenstahl
mailto:benjamin DOT riefenstahl AT ision DOT net

Ruhrstrasse 61
D-22761 Hamburg
http://www.ision.net

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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