Command Prompt for Windows




Command WHERE

Function:

Locates one or more files.

Syntax:

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

Note:

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.