
Printing Text Files
If you have a printer attached to your computer, you can print text files with the PRINT command. In general, you will probably use application programs to print files, but if you need to print a text file from the MS-DOS command prompt, follow the steps below.
To print a text file named STATS.NBA on drive C:
1.Make sure your printer is on and ready to print.
2. At the MS-DOS command prompt, type the following and press Enter:
PRINT C:STATS.NBA
MS-DOS prompts you for the name of the printing device connected to your computer. (This is usually the name of the communications port that the printer cable is connected to, such as LPT1.)
3.Type the name of the device, such as LPT1, and press Enter. MS-DOS prints the file on your printer.
See your MS-DOS Reference Manual for more information on the PRINT command.
Using Directories
You can store many files on a diskette, and a hard disk can store many more. To help you organize this much information, MS-DOS lets you subdivide a disk into logical units called directories. Directories allow you to arrange your disk so that files of similar type or purpose are kept together.
4-16 Using MS-DOS with Your Equity 386SX