delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/06/14:53:40

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
From: DJ Delorie <dj AT redhat DOT com>
Newsgroups: cygnus.gnu-win32
Subject: Re: Trailing Periods on File Names
Date: 06 Apr 2001 14:35:12 -0400
Organization: Red Hat, Inc
Lines: 10
Message-ID: <xnbsq9x4f3.fsf@greed.delorie.com>
References: <17B78BDF120BD411B70100500422FC6309E267 AT IIS000>
NNTP-Posting-Host: cse.cygnus.com
X-Trace: cronkite.cygnus.com 986582113 25647 205.180.230.236 (6 Apr 2001 18:35:13 GMT)
X-Complaints-To: postmaster AT cygnus DOT com
NNTP-Posting-Date: 6 Apr 2001 18:35:13 GMT
X-Newsreader: Gnus v5.7/Emacs 20.5
To: cygwin AT cygwin DOT com
DJ-Gateway: from newsgroup cygnus.gnu-win32

Bernard Dautrevaux <Dautrevaux AT microprocess DOT com> writes:
> In fact Windows not exactly ignores periods at the end of file names:
> writing a filename as "foo." asks windows NOT to search for "foo.exe" or
> "foo.bat" IF it needs to execute the file... This is allows to execute "foo"
> instead of "foo.exe" if both exist, just to add some more fun :-)

That's not windows, that's command.com or cmd.exe.  If you put "." at
the end, it [wrongly] thinks there's and extension, and only searches
for that extension, which in this case is blank.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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