5
Is there any way to open a windows explorer window with the contents already filtered as if you'd entered them into the search window in the corner?
So I'd like to type directly into the Start Menu or a WinKey+R run menu as shown below then press Enter:
Ideally I'd get the following result:
I've tried looking through command line options for explorer.exe but haven't turned up anything to do exactly what I'm asking.
The aim of my question is to figure out if there is an existing command line or something but I'm willing to write an app or script of some sort if there's nothing out there--so any hints as to the APIs I might look at are welcome.
Windows 7 is the minimum platform I'm worried about getting this to work on.
1Great, thank you! I'd just found this option in another old post a minute before you answered. It looks like I can decipher the .search-ms text file so it's possible to write a program to automatically generate the file and open the new window from the 'Run' box without additional steps/clicks! – nvuono – 2012-11-04T01:46:12.823
1
Yup, should be easy enough to programmatically generate, and you can find detailed info. about the XML format here.
– Karan – 2012-11-04T01:52:30.8432
got something basic going that takes 1 argument... "QuickSearch C:\location*.xyz" and I'll probably throw it in the path somewhere as qs.exe https://github.com/downloads/nvuono/ExplorerQuickSearch/QuickSearch.exe
– nvuono – 2012-11-04T06:20:48.740Oh very nice indeed! (https://github.com/nvuono/ExplorerQuickSearch for those looking for the code)
– Karan – 2012-11-04T15:51:29.643