Re: [Freedos-devel] dir bug?
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/vse012070mrt/direct/01/ ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
Re: [Freedos-devel] dir bug?
Jim Hall wrote: But I don't recall MS-DOS wildcards that way. I remember DIR * was the same as DIR *. not DIR *.*. I guess I'm wrong. Yes, you are wrong. ;-) Tested on MS-DOS 5.00 and 6.22. Robert Riebisch -- BTTR Software http://www.bttr-software.de/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
Re: [Freedos-devel] dir bug?
Alain M. wrote: Robert Riebisch escreveu: Jim Hall wrote: But I don't recall MS-DOS wildcards that way. I remember DIR * was the same as DIR *. not DIR *.*. I guess I'm wrong. Yes, you are wrong. ;-) Tested on MS-DOS 5.00 and 6.22. Can you be more specific? I think, it was clear enough already, but anyway... As Jim is wrong: DIR * _IS_ the same as DIR *.* for MS-DOS versions 5.00 and 6.22. Robert Riebisch -- BTTR Software http://www.bttr-software.de/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
[Freedos-devel] dir bug?
Dear Sirs On ms-dos 6.22 using dir * is the same as use dir *.* On Freedos dir * is the same as dir *. Is a bug? The dir() function at euphoria language have the same error. I suspect this come from an Watcom library function. -- +-+-+-+-+-+-+-+ Marco A. Achury Tel: +58-(212)-6158777 Cel: +58-(414)-3142282 Fax: +58-(212)-2410828 Skype: marcoachury www.geocities.com/marcoachury - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel