find files in windows command

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

# SYNTAX
# dir <your-options-or-switches> "<what-you-are-looking-for>"

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

# https://www.dummies.com/computers/operating-systems/windows-xp-vista/how-to-search-for-files-from-the-dos-command-prompt/# 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.dir secret.doc /s /p
Source

Also in C++: