Windows 10 search

William Claster
William Claster used Ask the Experts™
on
Trying to find all files with extension .R on my computer. Any suggestions?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2018
Distinguished Expert 2018

Commented:
If you don't mind PowerShell: open a console, paste (replacing C:\temp with the folder where you want to start your search, and the csv export path, obviously):
Get-ChildItem c:\temp -Filter '*.r' -File -Recurse | Select-Object -Property LastWriteTime, Length, Name, DirectoryName, FullName | Export-Csv -NoTypeInformation -Path C:\Temp\r.csv

Open in new window

If you want the results immediately in a form, replace "Export-Csv ..." with "Out-GridView":
Get-ChildItem c:\temp -Filter '*.r' -File -Recurse | Select-Object -Property LastWriteTime, Length, Name, DirectoryName, FullName | Out-GridView

Open in new window

Most Valuable Expert 2013
Commented:
ext:".r"

Author

Commented:
Thank you. That worked. I had tried it without the quotation marks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial