Recursive file search using PowerShell

后端 未结 8 1571
情话喂你
情话喂你 2020-11-28 01:50

I am searching for a file in all the folders.

Copyforbuild.bat is available in many places, and I would like to search recursively.

$Fil         


        
8条回答
  •  攒了一身酷
    2020-11-28 02:47

    To add to @user3303020 answer and output the search results into a file, you can run

    Get-ChildItem V:\MyFolder -name -recurse *.CopyForbuild.bat > path_to_results_filename.txt
    

    It may be easier to search for the correct file that way.

提交回复
热议问题