home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / window / miscutil / enved2 / enved.bat < prev    next >
Encoding:
DOS Batch File  |  1987-07-15  |  666 b   |  19 lines

  1. echo off
  2. rem Write the current environment variables into a file
  3. SET >\$ENVED.DAT
  4. rem Change the following line to use your favorite text editor
  5. KEDIT \$ENVED.DAT
  6. rem Convert the .dat file to a .bat file to replace the environment
  7. rem Alternatives:
  8. rem     (1) On true blue IBM PCs:
  9. rem          BASICA \$ENVED
  10. rem     (2) On clones:
  11. rem          GWBASIC $ENVED
  12. rem     (3) Compiled program (from C or Turbo Pascal):
  13. rem          $ENVED <\$ENVED.DAT >\$ENVED$.BAT
  14. $ENVED <\$ENVED.DAT >\$ENVED$.BAT
  15. rem Erase the .dat file now that we are through with it
  16. ERASE \$ENVED.DAT
  17. rem Execute the .bat file (must be written in a directory in PATH)
  18. $ENVED$
  19.