MICROPROCESSOR AND MICROCONTROLLER

ICT

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What DOS command is used to remove an existing empty directory?
A
rd
B
cd
C
md
D
ren
Explanation: 

Detailed explanation-1: -Use the rmdir command to remove the directory, specified by the Directory parameter, from the system. The directory must be empty (it can contain only .

Detailed explanation-2: -The rd and rmdir commands remove empty directories in MS-DOS. To delete directories with files or directories within them, you must use the deltree command. If you are running Microsoft Windows 2000 or Windows XP, use the /S option.

Detailed explanation-3: -To remove a directory and all its contents, including any subdirectories and files, use the rm command with the recursive option, -r . Directories that are removed with the rmdir command cannot be recovered, nor can directories and their contents removed with the rm-r command.

Detailed explanation-4: -In computing, rmdir (or rd ) is a command which will remove an empty directory on various operating systems.

Detailed explanation-5: -To remove a directory that is not empty, use the rm command with the-r option for recursive deletion. Be very careful with this command, because using the rm-r command will delete not only everything in the named directory, but also everything in its subdirectories.

There is 1 question to complete.