Questions: 3.* Which of the following Windows commands is used to display a list of the files and folders found in the current directory? dir attrib Is mkdir

3.* Which of the following Windows commands is used to display a list of the files and folders found in the current directory?
dir
attrib
Is
mkdir
Transcript text: 3.* Which of the following Windows commands is used to display a list of the files and folders found in the current directory? dir attrib Is mkdir
failed

Solution

failed
failed

The answer is the first one: dir.

Explanation for each option:

  • dir: This command is used in Windows to display a list of files and folders in the current directory. It provides details such as file names, sizes, and modification dates.

  • attrib: This command is used to display or change file attributes, such as read-only, hidden, or system attributes. It is not used for listing files and folders.

  • ls: This command is used in Unix/Linux systems to list files and directories. It is not a native Windows command, although it can be used in Windows if a Unix-like environment is installed (e.g., through Windows Subsystem for Linux).

  • mkdir: This command is used to create a new directory. It does not list files or folders.

In summary, the dir command is the correct choice for listing files and folders in the current directory on a Windows system.

Was this solution helpful?
failed
Unhelpful
failed
Helpful