This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Trailing Periods on File Names



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]