5
1
I need find a file in Windows under command line, but receive results as a table. Similar to windowed version of find, where we have last column, displaying location.
dir /s
doesn't match this requirement, because it enters each directory and reports this in separate header, leaving file list as usual.
Probably not possible using the command line. You could build something using PowerShell. – Seth – 2017-02-17T11:30:46.463
Would this do: Get-ChildItem -ErrorAction SilentlyContinue -Recurse c:\ -Filter "filetosearch.exe" | select Directory – HelpingHand – 2017-02-17T13:40:55.227
1Maybe: Get-ChildItem -ErrorAction SilentlyContinue -Recurse c:\ -Filter "filetosearch.exe" | select Directory,Name,LastWriteTime | format-table etc... – HelpingHand – 2017-02-17T13:47:24.080
How about
DIR /A-D /B /S
would that suffice for the need? – Pimp Juice IT – 2017-02-17T13:48:45.187