how to search .doc file in folder depth 5 to 10

This topic contains 3 replies, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 3 years, 7 months ago.

  • Author
    Posts
  • #11263
    Profile photo of Biswajit
    Biswajit
    Participant

    how to search .doc files in folder depth 5 to 10 using get-childitem

  • #11278
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Do you mean searching INSIDE the .doc files, or merely looking for .doc files in a specific folder hierarchy?

  • #11288
    Profile photo of Biswajit
    Biswajit
    Participant

    .doc & .docx files in a specific folder hierarchy

  • #11294
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Get-ChildItem -Path c:\whatever -Recurse -Filter *.doc

You must be logged in to reply to this topic.