Dec 172017
 
View system configuration files (CONFIG, AUTO, & 4DOS if present); save report file containing copies of all configuration files; shell out to your editor to edit any of the files.
File CSYS11.ZIP from The Programmer’s Corner in
Category System Diagnostics
View system configuration files (CONFIG, AUTO, & 4DOS if present); save report file containing copies of all configuration files; shell out to your editor to edit any of the files.
File Name File Size Zip Size Zip Type
CSYS.DOC 3163 1325 deflated
CSYS.EXE 38976 28035 deflated

Download File CSYS11.ZIP Here

Contents of the CSYS.DOC file



CSYS.EXE ver. 1.1

(c) Copyright 1993 by Westford Custom PC/FX 508-692-8163


PURPOSE

Display any of the following system configuration files:
CONFIG.SYS 4DOS.INI AUTOEXEC.BAT 4START.BTM 4EXIT.BTM
Edit any of the files with the file editor of your choice.
Generate a file containing copies of the system files.


STARTING

csys [/b /f] /b: force monochrome display
/f: create/append to SYSFILES.RPT

USING

While viewing a file, the following keystrokes are accepted.
Enter, spacebar : move to next file
e, E : edit file currently displayed
f, F : create/append to report file
F1, ? : help
F10, ESC : quit
The program will rotate continuously through the display of any of the system
files that it finds in the root directory of drive C:. Any file longer than
21 lines can be scrolled with the up/down arrow keys. The program quits with
F10 or ESC.

TO EDIT
When editing is selected, CSYS shells to DOS with the following command:
editor CurrentFile [CurrentFile = file currently displayed]

An editor's name can be specified by using any hex editor, including those
provided with the Norton Utilities or PCTools. To change the name, seek the
text "editor" at sector 72 of CSYS.EXE.

A replacement name may consist of six or fewer than six characters. For
example, "editor" can become "edit," the name of the editor supplied with
DOS 5. When changing the name, overwrite any unused character spaces with
blank spaces.

NOTE: Maximum length for the editor name is 6 characters. Any entry exceeding
this length will have unpredictable and most likely undesirable results.

And, of course, work safely by working only with a copy of the original file.

TO GENERATE REPORT FILE
CSYS.EXE can generate the report file SYSFILES.RPT, which consists of a copy
of each system configuration file. If SYSFILES.RPT does not exist, it is
created; if it already exists, the new report is appended to it.

The report file can be generated in two ways:
1) Enter f while viewing a file. 2) Run the program with the command line
switch /f. Doing so also bypasses display of the files.


ASSUMPTIONS

The program looks for the system configuration files in C:\.
Maximum file length is 50 lines.
In the interest of speed, the program performs only minimal error checking.


Westford Custom PC/FX 508-692-8163 CompuServe 76470,2417



 December 17, 2017  Add comments

Leave a Reply