• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » Fundamental » OS » Describe the Commands in DOS? Name the Commands with their Syntax
Next →
← Prev

Describe the Commands in DOS? Name the Commands with their Syntax

By Dinesh Thakur

DOS commands are small programs, which are made to perform a particular job. Every DOS command performs different task. It is not possible to work on the computer without these commands. There are two types of DOS command.

Internal Commands : These commands enter into the computer memory during computer booting. These commands are not in the form of any file; so neither they can be viewed nor can be edited or detected. For example : MD, CD, TIME, DATE, COPY, COPR CON, TYPE ETC.

External Commands : These commands are stored in the computer list in the form of files. These Commands can be viewed, copied, changed or deleted. For example : FORMAT, COPY, PRINT, SYS, EDIT, TREE, SORT, PROMPT etc.

Important Internal DOS Commands

(i) MD (Make Directory) : We use this commands to make a new directory or sub directory.

1
2
Syntax : c\:>md directory name
Example : md student

(ii) CD (Change Directory) : This commands is used to move from one directory to another.

1
2
Syntax : C:\> CD Directory name
Example : > CD Student

Exit to Directory :

CD… The command move the sub-directory to parent directory.

CD\ The command is used to move directly to the root directory.

(iii) RD (Remove Directory) : If a Directory which was earlier is ;not required than such directory can be removed by using

1
2
Syntax : C:\> RD Directory name
Example : >RD student

Note : (a) The directory, which is to be removed, must be empty.

(b) The directory in which one is working cannot be removed.

One has to close the directory and come to the parent directory to remove that directory.

(iv) Copy Con : Its command is used to create a file. The name of the file, which is to be created, is written after the copy Con leaving one space in between

1
Syntax : Copy Con file name

 

To created a file, the following steps are :

(i) Type Copy Con Monu and press Enter.

(ii) Type whatever is to be typed in the file.

(iii) Press F6 function key or CTRL + Z keys ‘?Z’ will be displayed on the screen, which indicates that the file is complete.

(iv) Press Enter and after that the DOS will save the file and will display the message ‘1 File(s) copied.

(v) Del : This command is used to erase the files which are no longer required.

1
2
Syntax : C:\> Del < File name >
Example : >Del Monu

(vi) Type : This command is used to view the contents of text file.

1
Syntax : Type <file name>

(vii) Copy : This command is used to copy of file from one place to another place. A copy of file is another file with the same contents.

1
Syntax : c:> copy <source> <destination path>

(viii) Ren : This command is used to rename the file. In REN command two parameters are used. The first is the file we want to rename and the second is the new name for the file.

1
Syntax : > REN <old file name> <New file name>

(ix) DIR : This command is used to display of directory and files.

1
Syntax : c:\> dir ?

(x) CLS : This command is used to clear the screen.

1
Syntax : c:\> cls


You’ll also like:

  1. What is MS-DOS?
  2. What is Parser (Syntax analysis)? Error Handling and Recovery in Syntax Analyzer
  3. Syntax Directed Definition (SDD) and Types of Syntax Directed Definitions
  4. What are the Difference Between DDL, DML and DCL Commands?
  5. Describe the Three Styles of ComboBox
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Operating System

Operating System & Types

    • Operating System - Software
    • Operating System - Definition
    • Operating System - Types
    • Operating System - Functions
    • Operating System - Characteristics
    • Operating System - Services
    • Operating System - Multiprogramming
    • Operating System - Time Sharing
    • Operating System - Multiprocessor
    • Operating System - Distributed
    • Operating System - Batch Processing
    • Operating System - Real-Time
    • Operating System - Multitasking
    • Operating System - Network(NOS)
    • Operating System - Multi-User
    • Operating System - Batch
    • Operating System - External Structure
    • Operating System - MS-DOS
    • Operating System - System Software
    • Operating System - Kernel
    • Operating System - Main Functions

Operating System Scheduling

    • Operating System - Scheduling
    • Operating System - Disk Scheduling
    • Operating System - Process
    • Operating System - Round Robin
    • Operating System - CPU Scheduling
    • Operating System - (FCFS) Scheduling
    • Operating System - Preemptive
    • Operating System - Priority Scheduling

Memory

    • Operating System - Memory
    • Operating System - Cache Memory
    • Operating System - Virtual Memory
    • Operating System - Memory Partition

Operating System - What is

    • Operating System - Booting
    • Operating System - Files & Types
    • Operating System - Shell
    • Operating System - Real Time System
    • Operating System - Demand Paging
    • Operating System - Multi Tasking
    • Operating System - Parallel Processing
    • Operating System - Swapping
    • Operating System - Spooling
    • Operating System - App Software
    • Operating System - Dead Lock
    • Operating System - Batch Processing
    • Operating System - Semaphore
    • Operating System - Variable Partitioned
    • Operating System - File System
    • Operating System - Cipher Text
    • Operating System - OS/2
    • Operating System - CONFIG.SYS
    • Operating System - Segmentation
    • Operating System - CLI

Some Other Tutorials

  • OS - Application Vs System Software
  • OS - Commands in DOS
  • OS - Process States
  • OS - System Components
  • OS - Inter-Process
  • OS - Computer Languages
  • OS - System Architecture
  • OS - Directory Structure
  • OS - Process Management
  • OS - Deadlock Prevention
  • OS - Thread Vs Process
  • OS - File Sharing

Other Links

  • Operating System - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2025. All Rights Reserved.

APPLY FOR ONLINE JOB IN BIGGEST CRYPTO COMPANIES
APPLY NOW