DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Working with DOS

Displaying a DOS file

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.bat
If 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

Next topic: Converting DOS files to and from UNIX system file format
Previous topic: Copying DOS files between DOS and SCO OpenServer systems

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005