This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Trailing Periods on File Names
- To: cygwin at cygwin dot com
- Subject: Re: Trailing Periods on File Names
- From: DJ Delorie <dj at redhat dot com>
- Date: 06 Apr 2001 14:35:12 -0400
- Newsgroups: cygnus.gnu-win32
- Organization: Red Hat, Inc
- References: <17B78BDF120BD411B70100500422FC6309E267@IIS000>
Bernard Dautrevaux <Dautrevaux@microprocess.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