Finding Files and Directories

  • Using Where

where <file>
  • Recursive Where

where /R C:\Users\student\ bio.txt
  • Using Wildcards

where /R C:\Users\student\ *.csv
  • Using Finder

find "password" "C:\Users\student\not-passwords.txt" 
  • Find Modifiers

find /N /I /V "IP Address" example.txt  
  • Findstr

findstr <file>
  • Evaluating and Sorting Files

comp .\file-1.md .\file-2.md
  • FC

fc passwords.txt modded.txt /N
  • Sort

sort.exe .\file-1.md /O .\sort-1.md
  • unique

sort.exe .\sort-1.md /unique

Last updated