dir with more info code example
Example 1: msdos dir for subdirectories
# Windows - cmd specific
# syntax
dir /s <search-string>
# example (to find any files/folders with names containing "hoto", like Photo)
dir /s *hoto*
Example 2: ms dos dir syntax with switches
dir [<Drive>:][<Path>][<FileName>] [...] [/p] [/q] [/w] [/d] [/a[[:]<Attributes>]][/o[[:]<SortOrder>]] [/t[[:]<TimeField>]] [/s] [/b] [/l] [/n] [/x] [/c] [/4]