Re: [Freedos-devel] EXIST NUL

2023-06-14 Thread Steve Nickolas
On Wed, 14 Jun 2023, Mercury Thirteen via Freedos-devel wrote: Unfortunately, in many cases, it has to be an absolute rule. I totally get the mindset (and semi-subscribe to it myself)of wanting FreeDOS to be a kind of MS-DOS but improved in every way possible including fixing Microsoft's

Re: [Freedos-devel] EXIST NUL

2023-06-14 Thread Mercury Thirteen via Freedos-devel
On Tuesday, June 13th, 2023 at 4:30 PM, Jose Senna jasse...@mail.com wrote: > ... > > Jim Hall said: > >> We should still fix the FreeDOS behavior to match > >> the MS-DOS behavior. > > Shall this be an absolute rule, even when the > behavior is a bug ? Unfortunately, in many cases, it has to be

Re: [Freedos-devel] EXIST NUL

2023-06-13 Thread jerome
> On Jun 13, 2023, at 4:02 PM, Jim Hall wrote: > > On Mon, Jun 12, 2023 at 4:05 PM Bret Johnson wrote: >> >> Rather than merely trying to copy the way MS did/does things regarding >> IF EXIST X:NUL, I think we can discuss what the "right" way to handle >> things should be. > > We should

Re: [Freedos-devel] EXIST NUL

2023-06-13 Thread Jose Senna
Bret Johnson said: > The second questions is, "Does a device exist in > all existing directories, or only certain ones?" > The answer to that question is that it is supposed > to "exist" in ALL directories. I fully agree with the answer. I did not think this was a question, because

Re: [Freedos-devel] EXIST NUL

2023-06-13 Thread Jim Hall
On Mon, Jun 12, 2023 at 4:05 PM Bret Johnson wrote: > > Rather than merely trying to copy the way MS did/does things regarding > IF EXIST X:NUL, I think we can discuss what the "right" way to handle > things should be. We should still fix the FreeDOS behavior to match the MS-DOS behavior. But if

Re: [Freedos-devel] EXIST NUL

2023-06-13 Thread Bret Johnson
> It seems to me that te question is "Shall a device > exist in a non-existing directory ?" I don't think that's the correct question. I think there are two questions. The first question is, "Does a device exist in a non-existent directory?" The answer to that is no -- a device does not

[Freedos-devel] EXIST NUL

2023-06-13 Thread Jose Senna
Bret Johnson said: > Rather than merely trying to copy the way MS did/does > things regarding IF EXIST X:NUL, I think we can discuss > what the "right" way to handle things should be. It seems to me that te question is "Shall a device exist in a non-existing directory ?"

Re: [Freedos-devel] EXIST NUL

2023-06-12 Thread Bret Johnson
Rather than merely trying to copy the way MS did/does things regarding IF EXIST X:NUL, I think we can discuss what the "right" way to handle things should be. NUL is a device, not a file, though it can sort of look like it is a file in some circumstances. In at least a sense, any device (NUL

Re: [Freedos-devel] EXIST NUL

2023-06-06 Thread jerome
Hi Ralf, To further prove Issue #1 is a bug under both the current version of FreeDOS and last version of MS-DOS (6.22), I booted up a Windows 10 machine and opened a command shell window. On that machine, drive Z: is a CDROM (with disk inserted) and drive T: does not exist. C:>if exist

Re: [Freedos-devel] EXIST NUL

2023-06-06 Thread tom ehlert
Hallo Herr Ralf Quint, am Montag, 5. Juni 2023 um 23:06 schrieben Sie: > On 6/5/2023 1:56 AM, jer...@shidel.net wrote: >> >> Hi All, >> >> /There are two separate issues when using: |IF EXIST ?:\NUL| / >> >> /I'm lazy and wrote up a info text file over at > >>

Re: [Freedos-devel] EXIST NUL

2023-06-05 Thread jerome
Hi Ralf, > On Jun 5, 2023, at 5:06 PM, Ralf Quint wrote: > > On 6/5/2023 1:56 AM, jer...@shidel.net wrote: >> Hi All, >> >> There are two separate issues when using: IF EXIST ?:\NUL >> >> I'm lazy and wrote up a info text file over at >>

[Freedos-devel] EXIST NUL

2023-06-05 Thread jerome
Hi All, There are two separate issues when using: IF EXIST ?:\NUL I'm lazy and wrote up a info text file over at https://fd.lod.bz/redist/testing/devNUL/ and bug report at https://github.com/FDOS/freecom that I