Forrest logo
back to the where tool

where:tldr:0d7e4

where: Display the location of file pattern including file size and date.
$ where /T ${file_pattern}
try on your machine

The given command uses the "where" command in a Windows command prompt or PowerShell to search for files that match a specific pattern.

  • "where" is a command-line utility in Windows that helps locate files by searching a set of directories specified in the system's PATH environment variable.

  • "/T" is an optional parameter that specifies the file pattern or pattern(s) to search for. In this case, "${file_pattern}" is a placeholder for the actual pattern that needs to be provided. For example, if "${file_pattern}" is "*.txt", it will search for all files with a ".txt" extension.

Overall, the command is used to find files in the specified directories that match a given file pattern.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the where tool