0% found this document useful (0 votes)
12 views

Inventory System

This document provides instructions for a laboratory exercise on using Microsoft DOS commands. It lists 12 common MS-DOS commands - CLS, CD, DIR, MD, COPY CON, EDIT, TYPE, COPY, REN, RD, DEL, and EXIT - and describes their functions and syntax. The goals of the exercise are for students to learn the different MS-DOS commands and how to execute them in the command prompt window to manage files and directories.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Inventory System

This document provides instructions for a laboratory exercise on using Microsoft DOS commands. It lists 12 common MS-DOS commands - CLS, CD, DIR, MD, COPY CON, EDIT, TYPE, COPY, REN, RD, DEL, and EXIT - and describes their functions and syntax. The goals of the exercise are for students to learn the different MS-DOS commands and how to execute them in the command prompt window to manage files and directories.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Laboratory Exercise #____

MICROSOFT DISK OPERATING SYSTEM COMMANDS

Name: _________________________________ Date: ____________________


Computer#: ____________________________ Score: ___________________

LEARNING OUTCOMES:
 Identify the different MS DOS commands and their functions; and
 Apply the MS DOS commands in the command prompt environment.

The MS DOS commands are executed in the command prompt window. To


access the command prompt, click START>ALL PROGRAMS>ACCESSORIES>COMMAND
PROMPT. The command prompt window looks like the figure below:

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

You might also like