Command Prompt for Windows




WHERE Examples

Example 1:

To search all drives on the hard disk for all files that have the extension .DOC, enter at the command prompt :-

WHERE *.DOC

Example 2:

To search for files that have the extension .TXT on A: only, starting from the root directory, enter at the command prompt :-

WHERE A:\*.TXT