User avatar
Jared
Forum Admin
Posts: 3663
Joined: Mon Jan 12, 2015 12:32 pm
Location: Providence, RI
Contact: Website Facebook Twitter Skype YouTube Google+

Create Custom File Search Shortcuts For Windows Explorer

Mon Nov 28, 2016 4:52 pm

So I've spent the last several hours learning how to script Windows Explorer shortcuts to prompt searches and actually met with some success.

For example here's a shortcut which when run will search all drives (except C:) for quickbooks *.qbw and *.qbb files.

Quickbooks Search.zip
(983 Bytes) Downloaded 105 times


I'm probably going to create a bunch of these for all different file types to put in a folder on the external drives I return data on. That way when we get phone calls asking "where's my Quickbooks file?" or "where's my Outlook file?", I can just direct them to the links folder and tell them to click on the appropriate one.

Took me a while to figure out the syntax, but now that I have it should be pretty easy to modify:

%windir%\explorer.exe search-ms:"displayname=Search (Quickbooks)&crumb=*.qbw OR *.qbb =folderpath:=NOT C:&crumb=location:/"

User avatar
Jared
Forum Admin
Posts: 3663
Joined: Mon Jan 12, 2015 12:32 pm
Location: Providence, RI
Contact: Website Facebook Twitter Skype YouTube Google+

Create Custom File Search Shortcuts For Windows Explorer

Mon Nov 28, 2016 4:59 pm

Here's a couple more examples:
Outlook Search.zip
(973 Bytes) Downloaded 113 times

Picture Search.zip
(966 Bytes) Downloaded 113 times

HaQue
Forum Moderator
Posts: 224
Joined: Mon Jan 12, 2015 7:56 pm

Create Custom File Search Shortcuts For Windows Explorer

Mon Nov 28, 2016 5:33 pm

I also use a few custom search terms, and I think it is pretty powerful. I don't have my cheat sheet reference txt file here, but for example the main ones I use are to strip out all the rubbish from flash drives when recovering.

find all the MS Office Temp files that start with a tilde: name:~"*~*"

finds all files which begin with a period, even those which do not have an extension. -kind:folder excludes folders from the search: filename:.*. -kind:folder this is the commandline version: dir .*.* /s /a-D

MS reference, pretty powerful stuff: https://msdn.microsoft.com/en-us/library/aa965711(VS.85).aspx

User avatar
Jared
Forum Admin
Posts: 3663
Joined: Mon Jan 12, 2015 12:32 pm
Location: Providence, RI
Contact: Website Facebook Twitter Skype YouTube Google+

Create Custom File Search Shortcuts For Windows Explorer

Mon Nov 28, 2016 5:58 pm

Right. My mission was to be able to put that search magic into a clickable link for them. Hardest part was figuring out how to exclude searching the C:/

User avatar
LarrySabo
Data Recovery Master
Posts: 868
Joined: Mon Jan 12, 2015 8:15 pm
Location: Ottawa, Canada
Contact: Website

Create Custom File Search Shortcuts For Windows Explorer

Mon Nov 28, 2016 7:55 pm

I usually provide a SNAP2HTML-generated listing of recovered files, as part of the quoting process. SNAP2HTML includes a search function and it works very well. If they ask me where's such-and-such file, I just refer them to the file listing (which I e-mailed to them earlier). Sometimes, I include the file list with the recovered data.

Return to “General Discussion & Off Topic”

Who is online

Users browsing this forum: No registered users and 2 guests