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

Which of the following commands displays names of files in sorted order?

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

The correct option is C DIR/AN

DIR/AN commands displays names of files in sorted order.

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, AROS and in the DCL command line interface used on VMS, RT-11 and RSX-11.

The DIR command is also useful if you want to know what directories have been created on the specified disk. The directories will be displayed along with the files on the disk. They can be identified by the DIR label that follows the directory name. Wildcard characters (? and *) can be used to specify groups of files.

The actual file is called xcopy.exe and is located on Windows 98 and ME in the C:\Windows\Command directory on Windows NT and 2000 in the C:\Winnt\system32 and on Windows XP in the C:\Windows\system32 directory. destination - Specifies the location and/or name of new files.


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