Skip to main content

CHKDSK (2)

CHKDSK

The "hidden files" are your DOS system files. These show up on all DOS disks. "User files" are those that are listed when the DIR command is used.

The amount of available disk space is perhaps the most important line
in the report. This tells you if you have enough space on a disk for
continued work. If the amount of space is limited, it may be time to use
another disk, delete obsolete files to recover disk space, or copy
inactive files to another disk and then delete them from the current one.

Notice that the CHKDSK command also gives you a report on your computer's memory. The total amount of memory and the amount of free memory is displayed. In the first sample report, the system is using
41,520 bytes (or characters) of memory space. This is often called system overhead. The second example shows a substantial amount of memory in use by DOS and other memory-resident programs. Here, it
is probably advisable to deactivate memory-resident programs if you must run a large application program. As a precaution, memory-resident programs should be turned off in the reverse order of turn-on. Otherwise, you are likely to experience a system "crash."

CHKDSK /N-Displays each directory and file as it is encountered by the program. Also displays disk error information.

CHKDSK /F-Used to recover (or fix) disk space that has been. misallocated in the directory. Places recovered disk space into files and assigns filenames beginning with FILE0000.CHK,
FILE0001.CHK, and so on.

CHKDSK filename-Checks the designated file for continuity in the 23 it is arranged on the disk. Displays a message telling whether the file blocks used are contiguous.

CHKDSK .--Checks all files on the designated disk for continuity. Lists the names and number of non contiguous blocks for all files having more than one contiguous block.

Comments

Popular posts from this blog

MEM

MEM The MEM command was introduced in DOS version 4.01 and memory information. The MEM command is entered alone or with a modified slightly in MS-DOS 5.00. MEM is used to display system memory information. The MEM command is entered alone or with a parameter. MEM-Displays to all system memory values, including expanded and extended memory values. MEM PROGRAM--Displays programs presently loaded in memory with used and unused memory. You may use /P if you are using DOS 5.00 MEM/DEBUG--Dispiays a list of programs, device drivers, install drivers, and used unused memory. You may use / if you are using DOS 5.00. MEM CLASSIFY (or MEM /C)-Displays programs and cor-responding memory usage. The largest available memory block is also displayed. You may use /C if you are using DOS 5.00. Typing MEM and pressing Enter displays information similar to the following (typical of DOS 5.00): C:\>MEM                  ...

DOS CONFIGURATION AND AUTOMATIC EXECUTION FILES

The CONFIG.SYS and AUTOEXEC.BAT files can be used to set the way your computer responds to commands. The purpose of each of these files is briefly described. Although these files are not always essential to the proper operation of your computer, there are certain programs that depend on their presence. At this point in your exploration of DOS, you are not expected to make use of these commands. However, it is important to know what they are and how they can be used. When you finish this blog, you may wish to experiment with the effect of these files on the way your computer interacts with certain programs, its operating speed, and the allocation of memory. CONFIG.SYS When your computer is turned on, DOS  checks for a CONFIG.SYS file and adjusts your computor's configuration according to commands contained in that file. The CONFIG.SYS file is always found on the main directory of the DOS book disk. If you have a hard disk system, it is found on drive C, although you can boot from ...