Trailing Periods on File Names

DJ Delorie dj@redhat.com
Fri Apr 6 11:45:00 GMT 2001


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



More information about the Cygwin mailing list