Computer Science, asked by TbiaSamishta, 1 year ago

Explain the following command with their syntax. 1. CHKDSK 2.MKDIR 3. CHDIR 4. RMDIR solve this question

Answers

Answered by VemugantiRahul
11
Hi there!
Here's the answer:

•°•°•°•°•°<><><<><>><><>°•°•°•°•°•°

¶¶¶ CHKDSK -Check Disk:

° It is a type of external command.

•Purpose:
To check the status of the disk and to repair errors in the directories or FAT(File Allocation Table) of the disk.

• Syntax:
Chkdsk [Drive]

Example:
Chkdsk C

#Note** Incase no drive is specified, it checks he logged drive.

¶¶¶ MKDIR or MD- Make Directory:

° ° It is a type of Internal command.

Purpose:
To create a directory or a sub-directory in the directory.

• Syntax:
MD [Drive]:\path\Directory name

•Example:
MD Books

**This will create a directory named 'Books' in the current Directory.


•°•°•°•°•°<><><<><>><><>°•°•°•°•°•°

¶¶¶ CHDIR or CD- Change Directory:

° ° It is a type of Internal command.

Purpose:
To change the current directory. The filea stirred in the particular directory can be accessed by changing to that particular directory

• Syntax:
CD [Drive]:\path\Directory name

•Example:
CD Books

**This will changes the currwnt directory to 'Books' directory. Now 'Books' is the current Directory.

•°•°•°•°•°<><><<><>><><>°•°•°•°•°•°

¶¶¶ RMDIR or RD- Remove Directory:

° ° It is a type of Internal command.

Purpose:
To remove the current directory or sub-directory.

• Syntax:
RD [Drive]:\path\Directory name

•Example:
RD Books

**This will remove the Directory 'Books' from current directory.

#Note**
1. Only Empty directory can be removed
2. Being inside the directory, directory cannot be removed

•°•°•°•°•°<><><<><>><><>°•°•°•°•°•°

©#£€®$
:)
Hope it helps
Answered by aqibkincsem
6

Answer:


These are all DOS commands. CHDSK is check disk that verifies the storage volume of the computer.


MKDIR refers to making a new directory.


CHDIR is the CD command that changes or shows up the present working directory.


RMDIR is a command to remove the directory by deleting it. There are many other Dos commands, and they are used as per need,

Similar questions