Hi Marco, > On ms-dos 6.22 using dir * is the same as use dir *.* > On Freedos dir * is the same as dir *.
Maybe related to a FreeCOM command.com issue: MS DOS command.com has some extra handling for "implicit wildcards", see Bugzilla: http://bugzilla.freedos.org/cgi-bin/bugzilla/show_bug.cgi?id=1139 In MS DOS, you can say "DIR .COM" as shorthand for "DIR *.COM". There is another, probably even more appropriate, item in Bugzilla which was flagged as "duplicate of 1139" while it is not really: http://bugzilla.freedos.org/cgi-bin/bugzilla/show_bug.cgi?id=1835 In MS WINDOWS, you can say "DIR FOO*" as shorthand for "DIR FOO*.*" but this does not work in MS DOS, so FreeDOS maybe is correct here. Yet you say that you tested with MS DOS 6.22, not with Windows. Odd! > Is a bug? The dir() function at euphoria language have the > same error. I suspect this come from an Watcom library function. FreeCOM was usually compiled with Turbo C but maybe you have a version which got ported to Watcom. Still you should check if it is really dir() which has the error - maybe you only make wrong assumptions about what dir() SHOULD do... Eric ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel