You are on page 1of 2

LAB 2

INTRODUCTION TO WINDOWS CMD

Following are some major commands used in Windows CMD.

1. Mkdir:
Mkdir command is used to make a new directory.

Santax:

C:\Users>mkdir umer

2. Rmdir:
Rmdir command is used to remove a directory.

Santax:

C:\Users\umer>rmdir nadeem

3. Cd :
This command is used to change from directory.
If one whant to go into a sub directory or child directory,
Following santax is used:
C:\Users\umer>cd nadeem

If one want to return into a parent directory,


Following santax is used:
C:\Users\umer\nadeem>cd..
4. Dir:
Dir command is used to display the list of folders in a directory.
Santax:
C:\users>dir

5. Date:
This command is used to display and modify date.
Santax:
C:\users>date

6. Time:
This command is used to display and modify time.
Santax:
C:\users>time

You might also like