wiz-icon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

Which switch should be used in the DIR command to view files in all directories ?

A
/P
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
/W
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
/S
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
/L
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B /S

/S switch should be used in the DIR command to view files in all directories.

In computing, dir (directory) is a command used for computer file and directory listing, specifically in the command line interface (CLI) of the operating systems CP/M, MP/M, DOS, OS/2, Singularity, Microsoft Windows, ReactOS, and in the DCL command line interface used on VMS, RT-11 and RSX-11.

To do this, open a command prompt from the keyboard by typing Win+R, or click on Start \ Run then type cmd in the run box and click OK. Navigate to the folder you want displayed in Windows Explorer by using the Change Directory command "cd" (with out the quotes).


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Computers in Accounting
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon