home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / misc / 10878 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  22.5 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!pa.dec.com!news
  2. From: reisert@sttng.mlo.dec.com (Jim Reisert)
  3. Newsgroups: comp.sys.ibm.pc.misc
  4. Subject: Re: 4dos version 4.01 vs ndos version 6.01
  5. Message-ID: <1992Jul27.140123.4387@PA.dec.com>
  6. Date: 27 Jul 92 14:01:23 GMT
  7. References: <14sppkINN66m@network.ucsd.edu> <1992Jul27.055344.22365@monu6.cc.monash.edu.au>
  8. Sender: news@PA.dec.com (News)
  9. Reply-To: reisert@sttng.mlo.dec.com (Jim Reisert)
  10. Organization: Digital Equipment Corporation -- Maynard, MA
  11. Lines: 591
  12.  
  13.  
  14. NDOS is essentially version 3 of 4DOS, with the Norton Batch Utilities
  15. made internal.  Here is a list of the changes in 4DOS from version 3
  16. to 4:
  17.  
  18.  
  19.                                   JP Software
  20.  
  21.                            4DOS Update Documentation
  22.  
  23.                          Version 4.01 -- June 8, 1992
  24.  
  25.    Copyright 1988 - 1992, JP Software Inc., All Rights Reserved.  Published
  26.    by JP Software Inc., P.O. Box 1470, E. Arlington, MA 02174 USA, (617)
  27.    646-3975.
  28.  
  29.    This file provides a list of changes in 4DOS version 4.01.  If you are
  30.    new to 4DOS with version 4.01, you can skip this file and begin with the
  31.    printed 4DOS Reference Manual supplemented by the MANMOD.DOC file, or
  32.    with the up to date ASCII manual in the file 4DOS.DOC.
  33.  
  34.    At the end of this file there is information about some of the major
  35.    changes made between 4DOS versions 3 and 4.  You should review this
  36.    information if you are upgrading from 4DOS version 3 to version 4.01,
  37.    and have never used 4DOS 4.0.
  38.  
  39.    Some of the descriptions below may be more detailed than you need; if
  40.    you aren't using the feature described, feel free to skip through to the
  41.    next item!
  42.  
  43.    Probably most of the changes in version 4.01 won't affect you.  For
  44.    changes which affect or are likely to be useful to most users, look for
  45.    the dew changes marekd with a "**" below.  All changes without a "**"
  46.    are more technical or less important; you can skip them unless you are
  47.    trying to solve a specific problem, or looking for changes which may
  48.    affect your batch files, aliases, or another specific feature you use.
  49.  
  50.    This file is formatted at 58 lines per page, and contains form feeds and
  51.    page footers.  It can be viewed with a file viewer such as the 4DOS LIST
  52.    command, or printed on most PC printers using the command:
  53.  
  54.             copy readme.doc prn
  55.  
  56.    Printing it with a program that formats the pages is not likely to work
  57.    due to the formatting included in the file.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                                                (6/92-4.01A)
  71.  
  72.  
  73.  
  74.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 1
  75.  
  76.  
  77.  
  78.                              4DOS 4.01 Change List
  79.  
  80.  
  81.    General Features
  82.    ----------------
  83.  
  84.       ** Include lists can be up to 255 characters long (the previous limit
  85.       was 79 characters).
  86.  
  87.       ** External applications can now be invoked with extended parent
  88.       directory names ("...\appname").
  89.  
  90.       ** Drive changes will now save the old drive and directory so it can
  91.       be retrieved with a "CDD -".
  92.  
  93.       A new 4DOS.INI directive, DescriptionMax = nnnn, now controls the
  94.       description length limit for DESCRIBE (the previous limit was fixed
  95.       at 40 characters).  This will provide better support for 3rd-party
  96.       description editors which support longer descriptions.  The default
  97.       for DescriptionMax is 40 characters; the allowable range is 20 to 120
  98.       characters.  DESCRIBE will also allow editing of descriptions longer
  99.       than DescriptionMax, but such descriptions cannot be lengthened. 
  100.       Descriptions displayed by DIR and SELECT are truncated at the screen
  101.       width, with a right arrow at the end if the full description doesn't
  102.       fit on the screen.
  103.  
  104.       Lines in SET /R and ALIAS /R files, and aliases and variables edited
  105.       by ESET, editing lines can all be up to 511 characters long.
  106.  
  107.       The "Cancel batch file?" prompt is now sent to STDERR rather than
  108.       STDOUT, in case batch output is redirected.
  109.  
  110.       Prefacing an external command with a '@' will remove the old value of
  111.       CMDLINE from the environment.  For folks who want to keep the
  112.       environment small when loading TSRs.
  113.  
  114.       KSTACK has been rewritten with a different internal implementation. 
  115.       The external use is the same for both users (the KEYSTACK command)
  116.       and programmers (the API for KSTACK).  The new version will not eat
  117.       up CPU time in DESQview windows the way the old one did.  Also some
  118.       minor problems have been fixed, and KSTACK now releases its
  119.       environment block at startup.
  120.  
  121.       4DOS now displays the true INI file name when an error occurs
  122.       (previously "4DOS.INI" was displayed reagrdless of the actual name).
  123.  
  124.       Variable expansion will now work when the variable is within an alias
  125.       and is embedded in the first item on the line.  For example:
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 2
  133.  
  134.  
  135.             c:\> alias mycopy=copy /r
  136.             c:\> set xx=py
  137.             c:\> myco%xx file1 a:
  138.  
  139.       will copy file1 to drive A:, and prompt if the destination file
  140.       already exists.
  141.  
  142.       Added a new 4DOS startup switch, /K.  This switch does nothing, but
  143.       all text after it is treated like a command, so using "/K command" at
  144.       the end of the 4DOS command line is equivalent to including the
  145.       "command" without /K.  This is equivalent to the 4OS2 /K switch, and
  146.       is included for compatibility with the version of COMMAND.COM
  147.       distributed with OS/2 2.0.  You can use either /K or /C before the
  148.       command, but not both.
  149.  
  150.       Several internal changes were made to provide better support for
  151.       using 4DOS in OS/2 2.0 DOS sessions.
  152.  
  153.  
  154.    Internal Variables and Variable Functions
  155.    -----------------------------------------
  156.  
  157.       %_DISK no longer generates a physical disk access.
  158.  
  159.       %@ASCII[] now checks for an escape character preceding the actual
  160.       character to process.  This allows quotes and other special
  161.       characters as the argument (eg %@ASCII[^X`]).
  162.  
  163.       %@FILESIZE now returns -1 on a non-existent file.
  164.  
  165.       %@SELECT now supports input from CON (standard input).
  166.  
  167.       Changed %@WORD to disable the / as a separator; now it will only use
  168.       spaces, tabs, and commas.
  169.  
  170.  
  171.    Commands
  172.    --------
  173.  
  174.       ** ATTRIB:  Now has a /P(ause) switch to make it easier to display
  175.       attributes for groups of files.
  176.  
  177.       CALL:  Now returns an exit code (%_?) which matches the batch file
  178.       exit code.  This allows the use of conditionals (&& and ||) after
  179.       CALL based on the batch file's exit code (eg from QUIT n) rather than
  180.       whether the CALL command worked.
  181.  
  182.       COPY and MOVE:  When performed from an OS/2 session, these will now
  183.       copy OS/2 extended attributes if the target file system supports
  184.       them.  Also, /U and /R switches will now search for hidden and system
  185.       files on the target.
  186.  
  187.  
  188.  
  189.  
  190.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 3
  191.  
  192.  
  193.       DEL:  Now sets the internal error level (%_?) non-zero if no files
  194.       were deleted.
  195.  
  196.       ECHOS:  Output is now in binary "raw" mode (without CR to CRLF
  197.       conversion etc.) to assist those using it to echo printer control
  198.       strings.
  199.  
  200.       IF and IFF:  Integer tests (i.e., "if 5 lt 12") have been modified to
  201.       allow for - and +, so you can now test things like "if -1 lt 1".
  202.  
  203.       INKEY:  Now translates the Enter key to its scan code (@28) to
  204.       simplify detection of this keystroke.  Previously Enter was put into
  205.       the environment as an ASCII 13, which wouldn't display, and which
  206.       would be discarded as whitespace when the parser expanded the
  207.       variable.
  208.  
  209.       PROMPT:  Has a new symbol:  $r displays the return code of the last
  210.       command.  This is for compatibility with COMMAND.COM under OS/2 2.0
  211.       which also provides this feature.
  212.  
  213.       SETDOS:  Has a new /P switch to set the character used to specify all
  214.       or all remaining command line arguments.  The default is '&' (as in
  215.       "%&") for 4DOS and '$' (as in "%$") for 4OS2.  Use (for example)
  216.       SETDOS /P$ to set the 4DOS character to match 4OS2.  Also see the
  217.       ParameterChar directive below.
  218.  
  219.       UNALIAS and UNSET:  Have a new /Q(uiet) option to disable error
  220.       messages if the alias or variable does not exist.  This can be used
  221.       to avoid annoying error messages from batch files which clear
  222.       variables or aliases that may not be defined.
  223.  
  224.       VER:  Now reports DR-DOS and OS/2 version numbers and revision levels
  225.       when they are available.
  226.  
  227.  
  228.    Technical and Compatibility Changes
  229.    -----------------------------------
  230.  
  231.       DR-DOS:  Added a DIREXIST condition (same as ISDIR) to IF and IFF for
  232.       compatibility with DR-DOS 6 batch files.
  233.  
  234.       OS/2:  4DOS will now search the true boot drive (as opposed to the
  235.       current drive) for AUTOEXEC and other similar files when starting a
  236.       primary shell in DOS 4 and above.  This should allow AUTOEXEC to run
  237.       properly in OS/2 2.0 VDMs when starting the VDM on a drive different
  238.       from the boot drive.  Also, 4DOS changes the session title on the
  239.       OS/2 desktop to the name of the application program when running an
  240.       application in an OS/2 2.0 DOS session.  This behavior can be
  241.       disabled with the ChangeTitle directive (see below).  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 4
  249.  
  250.  
  251.       Novell Netware:  Worked around a Netware bug which allows the current
  252.       directory to be deleted (and loses the disk mapping) when 4DOS does a
  253.       DEL /X.
  254.  
  255.       The prompt interrupt (INT 2F, AX=D44E) is now issued just after a
  256.       line is read (ie just after the CR), with BX=2.  This is in addition
  257.       to the interrupts already done with BX=0 and 1 per appendix C of the
  258.       manual.
  259.  
  260.       4DOS now allows multiple processes to redirect output to NUL
  261.       simultaneously in multitaskers.
  262.  
  263.       4DOS now generates a "4DOS internal stack overflow" error if you
  264.       attempt to nest batch files or commands like EXCEPT, FOR, IF, IFF,
  265.       GLOBAL, or SELECT too deep, and 4DOS runs out of stack space.  In the
  266.       past 4DOS could hang the system under these conditions.
  267.  
  268.       The default stack size (set via the StackSize directive in 4DOS.INI)
  269.       has been increased from 3584 to 4096 bytes.
  270.  
  271.       Added the following new INI file directives.  Most of these
  272.       directives are advanced directives, and should be changed only to
  273.       solve unusual problems or for compatibility with the indicated
  274.       software (eg NetwareNames for Novell Netware, or ParameterChar to
  275.       make 4DOS and 4OS2 syntax the same).
  276.  
  277.          ChangeTitle = YES | No:  Determines whether 4DOS changes the OS/2
  278.          session title when running an external program from an OS/2 2.0
  279.          DOS session.
  280.  
  281.          CopyEA = YES | No:  Determines whether the 4DOS COPY and MOVE
  282.          commands attempt to copy extended attributes when running in an
  283.          OS/2 1.x or 2.0 DOS session.  
  284.  
  285.          DiskReset = Yes | NO:  Enables or disables disk resets after COPY,
  286.          MOVE, and RENAME, and before DIR.  Set to Yes if you have problems
  287.          with disk change detection on non-standard or cached floppy disk
  288.          drives, or with network software which doesn't always properly
  289.          flush data to the disk.  However such problems are VERY rare and
  290.          normally No is the best choice.  Setting DiskReset to Yes will
  291.          reduce the performance of DIR, COPY, MOVE, and RENAME when using a
  292.          "staged-write" disk cache such as SmartDrive 4.0.
  293.  
  294.          DRSets = YES | No.  When running under DR-DOS, 4DOS will normally
  295.          retrieve environment variables created by any SET commands in the
  296.          DR-DOS CONFIG.SYS file and place them in the 4DOS master
  297.          environment.  Set DRSets to No to disable this feature.
  298.  
  299.          DVCleanup = YES | No.  No disables 4DOS's DESQview close window
  300.          cleanup code and thereby reenables the Quit choice on the DESQview
  301.          menu when at a 4DOS prompt.  However this will prevent 4DOS from
  302.          cleaning up its resources (releasing the shell number and deleting
  303.  
  304.  
  305.  
  306.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 5
  307.  
  308.  
  309.          any disk swap file) when you Close a 4DOS window from the DESQview
  310.          menu, rather than with the EXIT command.
  311.  
  312.          NetwareNames = Yes | NO.  Set to Yes to include strings in the
  313.          resident portion of 4DOS which Netware searches for when it loads. 
  314.          NetwareNames should be set to Yes for Netware systems to avoid
  315.          problems with destroyed environment variables during LOGIN. 
  316.          CAUTION:  If NetwareNames is set to Yes and you BOOT FROM a
  317.          Netware drive (a rare situation), the TEMP4DOS or TEMP variables
  318.          must be SET explicitly to the appropriate drive and directory for
  319.          each user to avoid conflicts in the directory used for pipe files
  320.          (if NetwareNames is not used or you boot from a local drive, 4DOS
  321.          and Netware will automatically set the proper drive and directory
  322.          for pipe files).
  323.  
  324.          NextINIFile = File.  Full path and name must be specified.  All
  325.          subsequent shells will read the specified INI file, and ignore any
  326.          [Secondary] section in the original 4DOS.INI.  Intended to allow
  327.          diskless or floppy-only workstation users to shift 4DOS.INI to a
  328.          network drive for secondary shells, and avoid all access to the
  329.          original boot drive.
  330.  
  331.          ParameterChar = c.  Sets the character used to specify all or all
  332.          remaining command line arguments.  Default is '&' (as in "%&") for
  333.          4DOS and '$' (as in "%$") for 4OS2.  Also see SETDOS /P above.
  334.  
  335.          UniqueSwapName = Yes | No.  Set to Yes to change the disk swap
  336.          file name from 4DOSSWAP.nnn to a unique name generated by 4DOS,
  337.          with an extension of "4SW" (eg a1gd6nnw.4sw).  This prevents
  338.          conflicts between swap files in different shells; it is only
  339.          necessary when using disk swapping with a COMMAND.COM primary
  340.          shell (eg if using Software Carousel) or in an OS/2 2.0 DOS
  341.          session.  The default is Yes in OS/2 2.0 DOS sessions and No
  342.          elsewhere.  UniqueSwapName only works in DOS 3.0 and above and
  343.          applies only to disk swapping.
  344.  
  345.  
  346.    Bugs Fixed
  347.    ----------
  348.  
  349.       Initialization:
  350.  
  351.          ** The sense of the MessageServer directive in 4DOS.INI was
  352.          reversed.
  353.  
  354.          The /F startup switch did not work unless there was also a
  355.          CritFail=Yes in 4DOS.INI.
  356.  
  357.       Command Line:
  358.  
  359.          Ctrl-D in a history window did not work properly when using
  360.          command completion.
  361.  
  362.  
  363.  
  364.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 6
  365.  
  366.  
  367.          An F8 or Shift-Tab at the beginning of a command line didn't
  368.          preserve the trailing backslash for directory names from a
  369.          previous F9 or Tab.
  370.  
  371.          Key remapping for standard ASCII keys (e.g. ListFind=S) only
  372.          worked if upper case key was typed.
  373.  
  374.       Environment Variables, Variable Functions, Batch Files, and Aliases:
  375.  
  376.          Command grouping had a glitch when used after a conditional
  377.          operator (&& or ||).
  378.  
  379.          Batch variables of %10 and larger were not expanding correctly.
  380.  
  381.          Variable expansion had trouble when used following a leading
  382.          command group [e.g. (dir^memory) > %outfile].
  383.  
  384.          Variable expansion crashed when an environment variable argument
  385.          was over 255 characters long.
  386.  
  387.          @DATE:  Did not work correctly with non-US date entries (i.e.,
  388.          yy-mm-dd or dd-mm-yy).
  389.  
  390.          @FILESIZE:  Was not rounding properly when the k, K, m, or M units
  391.          were used.
  392.  
  393.          @SELECT:  Was allowing Ctrl-D but it did not work.  It is no
  394.          longer allowed.  Also %@SELECT had trouble with 0-length files and
  395.          very large (>64K) files.
  396.  
  397.       Commands:
  398.  
  399.          CANCEL:  Was failing to terminate succeeding commands on the same
  400.          line in a parent batch file.
  401.  
  402.          COPY:  Was not handling an append of the form COPY FU+NUL FU /B
  403.          properly.
  404.  
  405.          COPY and MOVE:  Would lose the first description if the target
  406.          file had a description and the source didn't.
  407.  
  408.          DEL:  /Q was not doing a fast (FCB-style) delete.
  409.  
  410.          FOR:  (@filename) did not work correctly with long lines (>=80
  411.          characters).  The maximum line length now is 255 characters.
  412.  
  413.          INKEY:  /K didn't work properly with variable names over 6
  414.          characters.
  415.  
  416.          LIST:  /S had problems with very large (>64K) files when you hit
  417.          an invalid key.
  418.  
  419.  
  420.  
  421.  
  422.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 7
  423.  
  424.  
  425.          MEMORY:  did not display available XMS in an OS/2 2.0 VDM.
  426.  
  427.          MOVE:  /D didn't work properly with multiple source arguments. 
  428.          Also MOVE did not preserve the read-only bit when moving a file to
  429.          another drive.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 8
  481.  
  482.  
  483.                           Changes in 4DOS Version 4.0
  484.  
  485.    This section contains information about major changes made in 4DOS
  486.    version 4.0.  This is not a complete description of what was new in 4DOS
  487.    4.0 -- it only includes significant changes you may need to be aware of
  488.    if you are upgrading from 4DOS version 3 to version 4.01, and have never
  489.    used 4DOS 4.0.  For details on any specific feature, see your manual and
  490.    the MANMOD.DOC file.  If you need a comprehensive list of changes in
  491.    4DOS 4.0, please contact JP Software.
  492.  
  493.  
  494.    Installation and Configuration 
  495.    ------------------------------
  496.  
  497.       4DOS.COM:  4DOS is now one file, 4DOS.COM.  The separate 4DOS88.EXE
  498.       or 4DOS286.EXE files in the old structure have been eliminated.
  499.  
  500.       4DOS.INI:  There is a wide variety of new startup options for 4DOS,
  501.       and 4DOS configuration is now controlled through the new 4DOS.INI
  502.       file, for both primary and secondary shells.  Some switches can also
  503.       still be set on the SHELL= line in CONFIG.SYS.
  504.  
  505.       UMBs:  4DOS can now load its resident portion and / or the master
  506.       environment into DOS 5 UMBs.  UMB access is requested with the
  507.       UMBLoad and UMBEnvironment directives in 4DOS.INI.
  508.  
  509.       KEYSTACK:  The KEYSTACK.SYS device driver was replaced by KSTACK.COM,
  510.       a TSR (memory-resident program), normally loaded from AUTOEXEC.BAT
  511.       (or with INSTALL= in CONFIG.SYS).
  512.  
  513.  
  514.    4DOS HELP System
  515.    ----------------
  516.  
  517.       The help program was renamed 4HELP.EXE to avoid conflicts with other
  518.       HELP.EXE programs.  This program is run when F1 is pressed at the
  519.       command line or when the HELP command is executed.  The help text
  520.       file is now 4DOS.HLP (for those with a utility disk, the ASCII text
  521.       file is 4DOS.TXT).  The 4HELP, 4HELPF, and 4HELPC environment
  522.       variables were removed and replaced by the 4DOS.INI directives
  523.       HelpPath and HelpOptions.
  524.  
  525.       The new HELP system is not compatible with the version 3.0 HELP
  526.       system; if you have modified the version 3.0 HELP text you must
  527.       purchase a version 4.0 Utility Disk and recompile your help text to
  528.       use it with 4DOS 4.0 HELP.
  529.  
  530.       HELPCFG now supports a /M switch to force it to run in monochrome
  531.       mode and adjust the monochrome HELP colors, even on color systems. 
  532.       Also the HELPCFG exit keys were changed to conform to general usage
  533.       standards.
  534.  
  535.  
  536.  
  537.  
  538.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                        page 9
  539.  
  540.  
  541.    Batch File Commands
  542.    -------------------
  543.  
  544.    A few commands were changed in ways that may require you to edit your
  545.    batch files or aliases if they use the earlier syntax.
  546.  
  547.       DIR Switches:  Several switches were changed for DOS 5 compatibility. 
  548.       DIR now supports the DOS 5 sort order switches (/O:[-degns]), as well
  549.       as the original 4DOS switches (/O:[eirtuz]).  A byproduct of the
  550.       switch changes is that the /A:xxxx and /O:xxxx switches CANNOT be
  551.       followed by another parameter without an intervening slash.  For
  552.       example, you used to be able to say DIR /OEP to display the directory
  553.       in extension order with pauses.  You must now use DIR /OE/P or DIR
  554.       /POE.
  555.  
  556.       IF and IFF Tests:  Most of the old tests for system resources (EMS,
  557.       XMS, DISKFREE, etc.) were moved to variable functions to make the
  558.       information available throughout 4DOS rather than just in IF and IFF. 
  559.       In addition, some new tests were added, as well as new .AND., .OR.,
  560.       and .XOR. conditional operators.  
  561.  
  562.             Old IF / IFF test       New Variable or Variable Function
  563.             -----------------       ---------------------------------
  564.                MONITOR              %_MONITOR
  565.                VIDEO                %_VIDEO
  566.                ATTRIB               %@ATTRIB[filename,attrib]
  567.                DISKFREE             %@DISKFREE[d:,b|k|m]
  568.                DOSMEM               %@DOSMEM[b|k|m]
  569.                EMS                  %@EMS[b|k|m]
  570.                EXTENDED             %@EXTENDED[b|k|m]
  571.                FILESIZE             %@FILESIZE[filename,b|k|m]
  572.                XMS                  %@XMS[b|k|m]
  573.  
  574.       Include Lists:  The separator character for "include lists" was
  575.       changed from a plus sign to a semicolon.  Also, while in 4DOS 3.03
  576.       they were available only for the DIR and SELECT commands, in version
  577.       4.0 include lists were extended to all 4DOS file processing commands. 
  578.  
  579.       SET:  The syntax was changed to match COMMAND.COM:  You MUST enter an
  580.       '=' in a SET statement, and you may now put whitespace in the
  581.       variable name or the argument.  Also, if you enter SET VARNAME with
  582.       nothing else on the line SET will now display the value of the
  583.       variable, rather than removing it from the environment as it used to. 
  584.       To remove an environment variable, you must add the "=" sign to the
  585.       end (e.g. SET VARNAME=), or use UNSET.  Also note that, because
  586.       whitespace in environment variable names and values is now preserved,
  587.       batch files with lines like "SET MYVAR = MYVALUE" may not work unless
  588.       they are changed to eliminate the extra spaces.  Under 4DOS 3.03 this
  589.       example would set "MYVAR" to "MYVALUE"; under 4DOS 4.0 it will set
  590.       "MYVAR " to " MYVALUE".  In addition, the new /M switch directs the
  591.       change to the master environment, instead of the local one.
  592.  
  593.  
  594.  
  595.  
  596.    4DOS 4.01  [6-8-92]           UPDAT401.DOC                       page 10
  597.  
  598.  
  599. --
  600. James J. Reisert                Internet:  reisert@sttng.enet.dec.com
  601. Digital Equipment Corp.         UUCP:      ...decwrl!sttng.enet!reisert
  602. 146 Main Street            Voice:     508-493-5747
  603. Maynard, MA  01754        FAX:       508-493-0395
  604.