Inventory System
Inventory System
LEARNING OUTCOMES:
Identify the different MS DOS commands and their functions; and
Apply the MS DOS commands in the command prompt environment.
MS DOS Commands
Each command terminates with the Enter key. Use backspace to delete the last
character typed or Esc to cancel the command. Pressing F3 will give you the last MS-DOS
command entered which can be edited.
1. CLS
The command used to clear all the information from the screen when you are
working at the command prompt.
Syntax: CLS
2. CD
The command that lets you change the current directory.
Syntax: CD <subdirectory>
To go back to the previous directory: CD..
To go back to the root directory: CD\
3. DIR
The command that lets you list all the contents of a directory.
Syntax: DIR
4. MD
Lets you create a subdirectory using the name you provide preferably 8
characters long and must start with a letter.
Syntax: MD <subdirectory name>
5. COPY CON
The command that lets you create a text editor with its content.
Syntax: COPY CON <filename> Press ENTER the type the
content. After typing the content, press CTRL + Z to save then press ENTER.
6. EDIT
The command that lets you invoke the MS DOS text editor to create a text file.
Syntax:
For older than windows 10 O.S. EDIT <suggested filename>.txt
For windows 10 O.S. and above NOTEPAD <filename>
7. TYPE
The command that displays the content of the file.
Syntax: TYPE <filename>
8. COPY
The command that lets you copy a file to the specified directory.
Syntax: COPY <filename> <directory>
9. REN
The command that lets you change the name of your file and cannot change
the names of subdirectories.
Syntax: REN <old filename> <new filename>
10. RD
The command that lets you remove a specific subdirectory. Make sure that the
subdirectory is empty.
Syntax: RD <subdirectory>
11. DEL
The command that is used to delete files.
Syntax: DEL <filename>
12. EXIT
The command that is used to close the command prompt.
Syntax: EXIT