powershell - Get -ChildItem length error -


i've search search_string present in all_files/folder/sub_folder on particular drive i've below command, giving me error of folder/files length because must less 260 characters, , directory name must less 248 characters

command :

get-childitem d: -recurse | where-object {(select-string -inputobject $_ -pattern "search_string" -quiet) -eq $true} | foreach-object {write-output $_}  

i've tried get-alphafschilditems instead of get-childitem didn't work.

https://gallery.technet.microsoft.com/get-alphafschilditems-ff95f60f

please me find way-out.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -