You are on page 1of 4

Name: Ayesha Amjad Lab-2 Roll no (18-ELE-03)

Introduction to computing

Familiarization with the different commands in command prompt

Cd/

The cd\ command takes you back to the root directory of the current drive. As


can be seen in the example below, if you were in the same \Windows\System32
directory and typed the cd\ command, it would take you to the C:\ directory.

Cd:

When typing the cd.. or cd .. (with a space) command, this moves the directory
back one directory, also known as the parent directory. As seen in the example
below, if you're in the \Windows\System32 directory, using the cd.. command
takes you back to the Windows directory.

Mkdir:
Name: Ayesha Amjad Lab-2 Roll no (18-ELE-03)

In Windows, we can create directories from command line using the


command mkdir(or md). Syntax of this command is explained below.

Ren:

Used to rename files and directories from the original name to a new name

Xcopy:

Xcopy is a powerful version of the copy command with additional features; has
the capability of moving files, directories, and even whole drives from one
location to another.

Copy:

Allows you to copy one or more files to an alternate location


Name: Ayesha Amjad Lab-2 Roll no (18-ELE-03)

Help:

Help is used to access the information and help file from an MS-DOS prompt.
For quick reference help with MS-DOS commands in any of the versions of
MS-DOS or Windows, you can also use the -help or /? after a command. For
example, running either of the below two command give you additional help
information about the dir command.

To launch a program:
programs that are installed in Windows-created folders (e.g., the Desktop),
though you can add a program's folder to the Command Prompt list in order to
run the program from within Command Prompt.
Name: Ayesha Amjad Lab-2 Roll no (18-ELE-03)

Ip configuration:
In Windows, ipconfig is a console application designed to run from the
Windows command prompt. This utility allows you to get the IP address
information of a Windows computer. It also allows some control over
active TCP/IP connections. ipconfig replaced the older winipcfg utility.

You might also like