delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/07/12:45:41

From: smueller AT MICROSOFT DOT com (Stephan Mueller)
Subject: RE: Buglist
7 Apr 1997 12:45:41 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9106B0327B3ACF11ACEF00805FD47A0B028714FD.cygnus.gnu-win32@RED-67-MSG.dns.microsoft.com>
Original-To: "'Jim Balter'" <jqb AT netcom DOT com>, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Original-Cc: iverson AT cisco DOT com, gnu-win32 AT cygnus DOT com
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.8)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

On NT, what Jim says is correct.  The 'multi-dot' paths being discussed
are probably a special bonus feature (ahem) of the DOS and Windows 95
command.com shells.

In a Windows 95 command.com box, a reference to a directory name
consisting of n dots means the n-1st parent directory.  Thus
	cd ...
is equivalent to
	cd ..\..

It is interesting that this notation works with non-command.com exes as
well, so it may be that the Win95 implementation of Win32 generally
supports this.

stephan();

> -----Original Message-----
> From:	Jim Balter [SMTP:jqb AT netcom DOT com]
> Sent:	Friday, April 04, 1997 7:10 PM
> To:	dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
> Cc:	iverson AT cisco DOT com; gnu-win32 AT cygnus DOT com
> Subject:	Re: Buglist
> 
> dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de wrote:
> > 
> > Hi Tim, you wrote:
> > 
> > :  . Bash doesn't understand drive letters, multi-dot relative paths
> > :    (eg. "cd ..."), or UNC pathnames (eg. //host/resource).
> > 
> > What is a multi-dot path, please? I never saw ... only know . and ..
> > Under Unix ... has no reserved meaning, and AFAIK neither under NT.
> 
> Under win32, paths consisting of only dots, with the exception of .
> and .., are illegal.  This is along with a number of other
> illegal characters and combinations, including such winners as
> mkdir -p "abcde/xyz/con/ffo/bar" hanging as it tries to do I/O to the
> "con" device; lots of fun when you untar a 500Meg tar tape from
> some other system that was designed on less ad hoc principles.
> 
> --
> <J Q B>
> -
> For help on using this list, send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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