Printing & Redirection Commands
Introduction
MS-DOS provides commands for printing files and redirecting outputs. Below are some important printing and redirection commands:
Key Printing & Redirection Commands
- PRINT - Prints a file.
Example: PRINT filename.txt
- MORE - Displays output one page at a time.
Example: DIR | MORE
- > and >> - Redirects output to a file.
Example: DIR > file.txt
- < - Takes file content as input to a command.
Example: SORT < data.txt
Practice Here
Conclusion
These printing and redirection commands are crucial for managing output and directing data efficiently in MS-DOS.