where
Windows CMD · Files · available in the simulator
What it does
Locates files matching a pattern in PATH or a specified directory.
Syntax
where [/r directorio] [/q] [/f] [/t] patrón
Options and parameters
/r RUTARecursively searches starting at RUTA.
/qQuiet mode (exit code only).
/RRecursively searches starting at the specified directory.
where /r C:\Windows *.dll/QSuppresses output; returns exit code only.
/FDisplays matching file names in quotation marks.
/TDisplays the file size and last modified date for each matching file.
Usage examples
where notepadwhere /r C:\ *.logwhere /r C:\Windows *.dll