home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
pgmutl
/
cpe41.arc
/
CHENV.EXE
/
CHENV.DOC
< prev
next >
Wrap
Text File
|
1989-01-03
|
2KB
|
42 lines
CHange ENVironment 1.0
Authored by: Pedro P. Polakoff III
Released into the Public Domain
SYNTAX: chenv xxx (xxx) = File Extent
PURPOSE: To allow for fast changing of the \CONFIG.SYS and \AUTOEXEC.BAT
files for computer users who must maintain different configurations
for different working purposes. I myself must continually change
from a straight DOS to a WINDOWS environment and the CONFIG.SYS and
AUTOEXEC.BAT files are different for each.
FUNCTION: Chenv will accept the any argument as the extent for the files to
be processed. It will then locate the files CFS.xxx and AEB.xxx in
your root directory and copy the contents of those files to the
CONFIG.SYS and AUTOEXEC.BAT files in the root directory. If it has
completed the copy Chenv will then execute the WARMBOOT.COM program
to restart your computer system with the new environment set.
Executing Chenv without parameters will display a help message.
If Chenv cannot locate the files CFS.xxx and AEB.xxx (where xxx is
the extent passed as the parameter to chenv) it will report the
error to you and abort the warmstart. The files to be copied into
your CONFIG.SYS and AUTOEXEC.BAT must reside in the root partition
of the boot drive.
EXAMPLES:
COMMAND: chenv dos
This argument will locate the files CFS.DOS and AEB.DOS and copy
them into CONFIG.SYS and AUTOEXEC.BAT respectively.
SAMPLE FILE NAMES:
AEB.DOS - Standard DOS Autoexec.bat
CFS.DOS - Standard DOS Config.sys
AEB.WIN - Possible Windows Autoexec.bat
CFS.WIN - Possible Windows Config.sys