Command Prompt for Windows

Command WHERE


Locates one or more files.


WHERE [drive:][path]filename
driveSpecifies the drive to search.
pathSpecifies the directory to start searching in.
filenameSpecifies the file or files to find.


Type WHERE filename, without a drive or path to search the current drive and all non-removable drives on the hard disk.

Examples on using WHERE.

Also see command WHICH.