The 4DOS command processor for MS-DOS

4dos, batch commands, grub 4 dos, dos 4, ms dos 4

Incompatibility 4DOS <> DOS7

I have noticed that 4DOS V5.52 isn’t fully compatible with it’s DOS V7.0
COMMAND.COM colleague.

If I type ‘ATTRIB +r DIR’ (DIR is a directory).

With 4DOS.COM all files DIR\*.* get the readonly-attribute, while with
COMMAND.COM just the directory DIR gets the readonly-attribute (as if
the -d option was used).

It’s not that I don’t like 4DOS.COM’s default behaviour, but it’s not
the same as COMMAND.COM’s. I thought it should be compatible.

Groeten, Michel.        http://www.cs.vu.nl/~mdruiter
 \—-/==\—-/
  \  /    \  /          "Als je voetbalcriminaliteit wilt tegengaan,
   \/      \/           moet je ophouden met voetballen", Nordholt.

.
posted by admin in Uncategorized and have Comments (3)

3 Responses to “Incompatibility 4DOS <> DOS7”

  1. admin says:

    Ruiter de M wrote:
    > I have noticed that 4DOS V5.52 isn’t fully compatible with it’s DOS V7.0 COMMAND.COM colleague.

    > If I type ‘ATTRIB +r DIR’ (DIR is a directory).

    > With 4DOS.COM all files DIR\*.* get the readonly-attribute, while with
    > COMMAND.COM just the directory DIR gets the readonly-attribute (as if
    > the -d option was used).

    And this is the kind of change I don’t like.  There’s no way that 4DOS
    can imitate PC-DOS 7.0, MS-DOS 6.22, Novell DOS, and Win 95 DOS at the
    same time.  Now that Microsoft is pretending that DOS is dead, why
    should 4DOS try to be like it?  Thoreau said, "Better a living dog than
    a dead lion"; I think MS-DOS is a dead dog, and 4DOS is a living lion.  

    Each time 4DOS is changed to match some odd MS-DOS feature, every batch
    file written for 4DOS must be revised.

    Making additions is no problem.

  2. admin says:

    For the internal ATTRIB command in 4DOS to duplicate what ATTRIB would
    do in command.com, if woudl have to echo "Unknown command", since
    command.com does _not_ have an ATTRIB command.  Apparently, you are
    referring to the Microsoft-provided ATTRIB.EXE external program, the
    behavior of which varies from version to version.

    As for any external program, it can be invoked from 4DOS as
    "d:\path\=attrib.exe", via an alias ("ATTRIB=d:\path\attrib.exe"), etc.

    Ruiter de M wrote:

    > I have noticed that 4DOS V5.52 isn’t fully compatible with it’s DOS V7.0
    > COMMAND.COM colleague.

    > If I type ‘ATTRIB +r DIR’ (DIR is a directory).

    > With 4DOS.COM all files DIR\*.* get the readonly-attribute, while with
    > COMMAND.COM just the directory DIR gets the readonly-attribute (as if
    > the -d option was used).

    > It’s not that I don’t like 4DOS.COM’s default behaviour, but it’s not
    > the same as COMMAND.COM’s. I thought it should be compatible.

     _____________________________________________________________
     Mike Bessy                    JP Software, Inc.
     supp…@jpsoft.com            http://www.jpsoft.com/
     CompuServe 75300,1215         "GO JPSOFT"
     _____________________________________________________________

  3. admin says:

    In <5lhd9u$…@star.cs.vu.nl> mdrui…@cs.vu.nl (Ruiter de M) writes:

    >I have noticed that 4DOS V5.52 isn’t fully compatible with it’s DOS V7.0
    >COMMAND.COM colleague.

    >If I type ‘ATTRIB +r DIR’ (DIR is a directory).

    >With 4DOS.COM all files DIR\*.* get the readonly-attribute, while with
    >COMMAND.COM just the directory DIR gets the readonly-attribute (as if
    >the -d option was used).
    >It’s not that I don’t like 4DOS.COM’s default behaviour, but it’s not
    >the same as COMMAND.COM’s. I thought it should be compatible.

    First off, it’s not COMMAND.COM that makes the ATTRIB command in DOS.
    ATTRIB.EXE is an external command (separate program), unlike 4DOS’s,
    which is an internal command.  Also, it’s a simple matter to use the /D
    switch with 4DOS’s ATTRIB command to change the attributes of a directory.
    One last thing:  The read-only attribute is completely meaningless when
    used with a directory, as it and all it’s files can be removed whether it’s
    on or not.

    - Hide quoted text — Show quoted text -

    >–
    >Groeten, Michel.        http://www.cs.vu.nl/~mdruiter
    > \—-/==\—-/
    >  \  /    \  /          "Als je voetbalcriminaliteit wilt tegengaan,
    >   \/      \/           moet je ophouden met voetballen", Nordholt.