Subject: Re: Trailing Periods on File Names
From: DJ Delorie <[email-masked]>
To: [email-masked]
Date: 06 Apr 2001 14:35:12 -0400
Newsgroups: cygnus.gnu-win32

Bernard Dautrevaux <[email-masked]> 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