Finding files

Command to find a file with a particular string in the name

C:\> dir C:\*string* /s /b

a) /s: Searches subdirectories

b) /b: Provides the results in a clean format - only displays file paths

Powershell

PS> Get-ChildItem -Path C:\ -Recurse -Filter "*string*" | Select-Object FullName

Last updated