Friday, 6 February 2015

Windows: List only file names of a certain kind in a directory and its subdirectories.

dir /B /S *.sln

/S – search subdirectories as well
/B – bare – don’t display header information – this will give just the filename with the path so that you can use it for scripts.

No comments:

Post a Comment