searching for a file:
by type:
dir *.c /S

by name:
dir “file name”* /S

by full name:
dir “file name.txt” /s

search in specyfied dir:
dir /s /b d:\some folder\*.cpp
dir /s /b d:\some folder\test.*

– /s is for recurse subdirectories search
– /b flag will omit detailed file informations and just list full filenames


Leave a Reply

Your email address will not be published. Required fields are marked *