|
|
To display a DOS file, use the doscat command (see
doscmd(C)
for details), as follows:
doscat filename
For example, to display the AUTOEXEC.BAT file on a floppy in drive A:, type:
$ doscat a:autoexec.batIf you specify more than one file, the files are displayed one after another. If the file or files are too long to fit on a single screen, pipe the output through more. For example, to display two files on the A: drive called file1 and file2, type the following:
$ doscat a:file1 file2 | more