Where Main Topic| Previous

Where Examples


Examples

where "program files"
Find all directories named "program files" in the current directory and path of the current computer.
where $windir:*.ini
Find all instances of files with the .ini extension along the path represented by the environmental variable windir.
where /r \\zodiac\c$ /e notepad.*
Find all files named "notepad" in drive "C$" of the remote computer \\zodiac and its subdirectories, and report the executable type for executable files.
where /r c:\ test
Find all directories named "test" in drive c: of the current computer and its subdirectories.