windows search search-ms:displayname=search&crumb=location:c%3A%5CUsers%5Cpavel%5CDownloads%5C
forces regular expressions, so plain *
won't work, but .*
or just .
will
f.bat ".avi$"
f.bat %windir%\system32\drivers "^VBox"
dir /b/s *word*
can't specify root directory; always starts with the current directory.
To perform a system wide search
use where /r %systemdrive% budget.xls
or dir /b/s/a: %systemdrive%\budget.xls
to look for budget.xls.
doskey dirdir=dir /b/a:d $*
to list directories only.
doskey dirfile=dir /b/a:-d $*
to list files only.
To search inside text files use: findstr /s /i SOMETHING *.txt
Windows Desktop Search Engine: "Everything" http://voidtools.com/support/everything/searching/
which
in Windows https://stackoverflow.com/questions/304319/is-there-an-equivalent-of-which-on-the-windows-command-line
wc -l
in Windows (https://blogs.msdn.microsoft.com/oldnewthing/20110825-00/?p=9803/)