Answers for "dir files"

0

dir files

# For finding file use dir followed by string matching file name or regex
# pattern and add "/s" for searching recursively in subfolders:
dir /s "regex_or_file_name"
# For finding file contained in a searched directory use "/b":
dir /b "directory_name"
# Use respectively '/a-d' or '/ad' for finding only files or only folders.
Posted by: Guest on October-25-2020
0

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]
Posted by: Guest on March-17-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language