
You can use the /P switch to have the Command Prompt pause the results after it displays each screen. Some directories have hundreds or thousands of files. So, for example, if you want to sort files by time and date with newer entries appearing first, you could use this command: dir /O-D Display Results One Page at a Time You can also add “-” (minus) before any of the above options to reverse the order. So, for example, you could use the following command to sort results by time and date, with older entries appearing first: dir /OD
/check-outlook-folder-sizes-1173675-1-3570fa12c47b4d3d95309287106a3b56.png)

In older versions, you had to use the /c switch to show those commas. In modern versions of Windows, the Command Prompt shows large numbers separated by commas (so: 25,000 instead of 25000). Type the following command to make it work: dir /b Display Using Thousands Separator Using the /b switch with the DIR command strips away all excess information, displaying only the name of the folders and files in the current directory and not attributes like file size and time stamps. It can make things a little easier to parse, but it’s entirely optional. One more tip: Instead of cramming the main switch and the letter code together the way we did in our examples, you can use a colon to separate the switch from its optional codes. So, for example, if you don’t want to see any directories in the results, you could use this command: dir /a-d You also can add a “-” (minus) in front of any of those letter codes to specify that the DIR command does not show that kind of file.
