home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / CPE601.ZIP / UTILS.ZIP / CHENV.DOC < prev    next >
Text File  |  1989-01-03  |  2KB  |  42 lines

  1.                             CHange ENVironment 1.0
  2.                       Authored by: Pedro P. Polakoff III
  3.                         Released into the Public Domain
  4.  
  5.  
  6. SYNTAX:    chenv xxx   (xxx) = File Extent
  7.  
  8. PURPOSE:   To allow for fast changing of the \CONFIG.SYS and \AUTOEXEC.BAT
  9.            files for computer users who must maintain different configurations
  10.            for different working purposes. I myself must continually change
  11.            from a straight DOS to a WINDOWS environment and the CONFIG.SYS and
  12.            AUTOEXEC.BAT files are different for each.
  13.  
  14. FUNCTION:  Chenv will accept the any argument as the extent for the files to
  15.            be processed. It will then locate the files CFS.xxx and AEB.xxx in
  16.            your root directory and copy the contents of those files to the
  17.            CONFIG.SYS and AUTOEXEC.BAT files in the root directory. If it has
  18.            completed the copy Chenv will then execute the WARMBOOT.COM program
  19.            to restart your computer system with the new environment set.
  20.  
  21.            Executing Chenv without parameters will display a help message.
  22.  
  23.            If Chenv cannot locate the files CFS.xxx and AEB.xxx (where xxx is
  24.            the extent passed as the parameter to chenv) it will report the
  25.            error to you and abort the warmstart. The files to be copied into
  26.            your CONFIG.SYS and AUTOEXEC.BAT must reside in the root partition
  27.            of the boot drive.
  28.  
  29. EXAMPLES:
  30.  
  31.            COMMAND:   chenv dos
  32.  
  33.            This argument will locate the files CFS.DOS and AEB.DOS and copy
  34.            them into CONFIG.SYS and AUTOEXEC.BAT respectively.
  35.  
  36.            SAMPLE FILE NAMES:
  37.  
  38.                    AEB.DOS     - Standard DOS Autoexec.bat
  39.                    CFS.DOS     - Standard DOS Config.sys
  40.                    AEB.WIN     - Possible Windows Autoexec.bat
  41.                    CFS.WIN     - Possible Windows Config.sys
  42.