cmd find file dir 1

cmd find file dir

# EXAMPLE: show all files that start with abc in the current directory (option: only show filepaths)
dir /b "abc*" 

# dir  ""

# /b    :    Show only filenames 
# /a-d  :    Show files only (no folders)
# /ad   :    Show folders only (no files)
# /s    :    Include the subfolders in the search


Here is what the above code is Doing:
1. dir is the command
2. /b is an option
3. “abc*” is the argument

Similar Posts