DIR -- Displays information about all files or directories on the specified path
Its format is "DIR ", for example, "DIR E:\FF.M3U". After entering and pressing Enter, the relevant information will be displayed (as shown in Figure 1). In addition, it has several parameters:
/W: Wide screen display, 5 file names are displayed in one row, and information such as modification time and file size will not be displayed;
/P: Page display, when the screen cannot display the information completely, you can use it for page display;
/A: Display files with special attributes. The attributes here are "H" hidden, "R" read-only, etc. We can enter "DIR *.* /AH" to display all files with hidden attributes in the current directory;
/S: Display all files in the current directory and its subdirectories. Through this parameter, we can search for a certain file or directory. For example, we can enter "DIR *.DAT /S" after "C:>" to search for all files with the suffix DAT in the C drive.
Several parameters can be used at the same time, for example, "DIR *.COM /W /P /S".