Here is a solution using Visual Commander which is a VS add-on. It uses file paths from the clipboard. I tend to drop to a command line use a dir /s/b *.??
or another more complicated solution using powershell to generate these file paths.
using EnvDTE;
using EnvDTE80;
using System;
using System.Windows.Forms;
using System.IO;
public class C : VisualCommanderExt.ICommand
{
public void Run(EnvDTE80.DTE2 DTE, Microsoft.VisualStudio.Shell.Package package)
{
if(Clipboard.ContainsText(TextDataFormat.Text))
{
string[] files = Clipboard.GetText(TextDataFormat.Text).Replace("\r","").Split(new string[] {"\n"}, StringSplitOptions.RemoveEmptyEntries);
foreach(string f in files)
{
try
{
FileInfo fileInfo = new FileInfo(f);
if(fileInfo.Exists)
{
DTE.ItemOperations.OpenFile(f, EnvDTE.Constants.vsViewKindPrimary);
}
}
catch{ }
}
}
}
}