DOS (Disk Operating System) commands are text-based commands used in the command-line interface of MS-DOS and other DOS-compatible operating systems. While modern Windows operating systems have a command prompt that supports many of these commands, DOS commands are less prevalent today. Here are some basic DOS commands:
DIR:
- Displays a list of files and subdirectories in the current directory.
- dir
CD (Change Directory):
- Changes the current directory.
- cd [directory_name]
MD (Make Directory):
- Creates a new directory.m
- md [directory_name]
RD (Remove Directory):
- Removes a directory.
- rd [directory_name]
DEL (Delete):
- Deletes one or more files.
- del [file_name]
REN (Rename):
- Renames a file or directory.
- ren [old_name] [new_name]
CLS (Clear Screen):
- Clears the command prompt screen.
cls
EXIT:
- Exits the command prompt or the batch script.
exit
DATE:
- Displays or sets the system date.
date
TIME:
- Displays or sets the system time.
time
Note: Commands and their options can vary slightly depending on the version of DOS or the specific command interpreter being used. These commands provide a basic understanding of common operations in a DOS environment. Keep in mind that DOS commands are case-insensitive, and paths are separated by backslashes ().
Comments
Post a Comment