DIR to Sort Results
Don't miss that you can use a switch with the DIR directory command in Windows command prompt to sort files in a particular order. The switch '/O' followed by a colon followed by a particular letter for file size, file type, or something else will generate a list in a particular order. So, for example this command:
dir /O:S
. . . will sort the files in order according to their file size.
![](https://static.wixstatic.com/media/af7fa4_52d5e28d0ff9498db6eb9915c292edbb~mv2.png/v1/fill/w_49,h_25,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/af7fa4_52d5e28d0ff9498db6eb9915c292edbb~mv2.png)
This command:
dir /O:E
. . . will sort the files by their file type.