Search in 2 folders with their subfolders

Status
Not open for further replies.

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
Hi all,
I try to find the trick how manage search in 2 different folders (1) located in different data files and (2) with their subfolders.

I need it, as my company (Intel) uses MailCloud as a backup for our Outlook mail system, and all folder has 2 parts: containing last year (365 days) messages, and earlier ones (backup), located in different places (and datafiles).

To search in them both together I need the combination, described above.

I know, how to search in several folders (with their subfolders), but it seems to be impossible when
upload_2016-1-10_14-34-39.png
upload_2016-1-10_14-54-32.png
upload_2016-1-10_14-34-39.png upload_2016-1-10_14-54-32.png trying to select folders in different datafiles:
upload_2016-1-10_14-34-39.png


I know the trick, how to search in different datafiles, but NOT in subfolders of selected folders - it works:
upload_2016-1-10_14-54-32.png


So - how can I combine these 2 approaches together ?
The second one seems to be more promising, but how can I widen the search to subfolders as well ?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
You won't be able to limit it to folders, but if you know the data range and keywords, you can search by date.

Add this to the query to only find messages between these dates: received:(1/1/13..1/1/15)

See Instant Search Queries for other examples. (Kind won't work in Outlook anymore- it works in win7 / Outlook 2010.)
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
That's supposed to be
Code:
received:(1/1/13..1/1/15)
 

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
As you can see from my examples, I can limit it (1) to folders with subfolders, but within the same datafile, or (2) to folders only (without subfolders) in different datafiles - both approaches do work !
The 2-nd approach is almost what I want, and I'm looking for how to widen this search to subfolders.
Some trick, combination ... ?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Does it work if you select subfolders in the Search bar?

subfolders.png
 

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
No, in this case ("Subfolders" is selected) the search is performed in ONE FOLDER ONLY (with its subfolders), when the goal is to search in 2 folders with the same name (that actually are ONE logical folder in MailCloud backup - its last and past parts).
To search in two folders (with the same name) the AllMailboxes should be selected.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Yeah, not sure what i was thinking. You need to use allmailboxes and either search all folders or list each folder in the query.
 

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
Yes, I understand. But as we know, the list of folders (with subfolders) for some reason is restricted by one datafile only - so I cannot search in 2 parts of one "logical" folder ...
How it can be overcome ?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
You can't use search folders, but instant search supports all data files.

I thought Instant Search could search multiple folders by name, but either i remembered wrong or I'm not using the correct format for the query.
 

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
This is exactly the reason of my question - to find the expert who knows different approaches of Outlook search and is able to build the "killing" combination.
It seems to me, that you are such an expert !
In my primary question I've described 2 approaches I've found by myself, and both of them are not what I finally want.
With your knowledge and experience, maybe you can find out the right format of the quarry, providing the search in the folders with given name (and their subfolders) located in 2 distinct datafiles ?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Well shoot - i thought it was this format, then my test search failed. But it was just outlook acting goofy. :) It's working this morning - (typical Outlook! :))

Multiword folder names need quotes:
Code:
folder:(clutter) OR folder:(inbox)
folder:(inbox) OR folder:("sent items")
Adding a 3rd folder fails - i don't recall if i ever tested it with more than 2.
 

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
O, it looks interesting and highly promising !

Let me ask you specific question:
I have the 2 folders with the same name, but located in 2 different distinct datafiles:
(1) MyFolders\Work\Companies
(2) OnlineArchive\MyFolders\Work\Companies

Could you kindly build the search query for searching in both, but with their subfolders ?
(I know by my self how to do it withOUT subfolders).

Thanks in advance !
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Assuming Work is the folder name and Companies is subfolder:
Code:
folder:(work) OR folder:(companies)
You'll need to use the all mailboxes scope too.

This is the results from 2 Exchange mailboxes and 1 IMAP.
search.png
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
If you need to search subfolders under companies, you'd use those names instead. This will only search the two named folders though - it won't do a wildcard search of all subfolders like you'd get via the include subfolders option. It is totally limited to the 2 named folders.

Oh, and it's not whole words - so if you have two folders with similar names (my example is folders named old stats and stats), searching for stats will return results from both.
 

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
Yes, I know: if I use <folder: (Companies)> as search command (in All Mailboxes), I'll find messages of "Companies" in both branches - \MyFolders\Work & \OnlineArchive\MyFolders\Work - and it is part of what I want.
As I want to search not only in 2 "Companies" folders, but - in addition ! - in their subfolders as well !

And this is my question to you: what could be a way/trick/... to make Outlook to search in subfolders for the example above ?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
you can't search the subfolders - the Folder: (name) search is limited to the folders that have that word in their name.

You can search Companies and 1 other folder. If the subfolders all have a common word - "Company: A", "Company: B", then you could search all of the folders that have the common word in their name: Folder: (company).
 

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
I see... It is really pity, I hope that it could be some additional, not commonly known parameter/trick causing search in subfolders...
But if you know, that there is no such a trick ...
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 1
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
F Search folder for tasks in all task folders Using Outlook 1
D Search Results Highlighting even in the search folders Using Outlook 1
K Macro to search emails between two time slots on public folders with excel export Outlook VBA and Custom Forms 12
B Search Folder for search messages in more than one account and / or multiple PST folders Using Outlook 3
C Custom Search Folders deleted, /resetnavpane, can i restore? How? Exchange Server Administration 1
N Using Categories & Search Folders with multiple accounts Using Outlook 4
J Dynamic date range for Outlook Search folders Using Outlook 2
A Search folders for tasks Using Outlook 1
Commodore Outlook 2010 - Search Folders position Using Outlook 6
B Search contact folders Using Outlook 2
T search folders to segregate internal e-mails ( from company domain ) vs exter Using Outlook 1
S Search Indexing (Copying Folders) Using Outlook 0
T Can not drag e-mails from search to folders Using Outlook 1
S Outlook 2010: How do you enable Contacts' Activities to search archive folders Using Outlook 6
D Can't find folders that turn up in search Using Outlook 3
W Cannot Search Outlook Folders - Office 2010 Installed on Server 2008 R2 Using Outlook 2
W Cannot Search Outlook Folders - Office 2010 Installed on Server 2008 R2 Using Outlook 3
D Remove Search Folders Using Outlook 4
H E-mail not in folders but shows up on search Using Outlook 2
E How can I search all mail folders for an item. Using Outlook 1
E Search All Mail Folders Using Outlook 3
J Why does Outlook not allow search folders for All Mailboxes (ALL unread email) like Windows Live Mail Using Outlook 5
M Stop Search folders from disabling every 1-2 days? Outlook VBA and Custom Forms 3
M How do I delete Search folders? Outlook VBA and Custom Forms 2
J Search Folders for Tasks Using Outlook 6
P outlook 2008 search box criteria couldn't be saved Using Outlook 2
L New Location for the Search Bar Using Outlook 6
T How can you include Junk Email in Search Results like you can include Deleted Items? Using Outlook 3
J Outlook 2016 After a search in all mailboxes, where is each message that was found? Using Outlook 6
King Mustard Sort search groups by amount of items? Using Outlook 1
V Outlook 2016 will not move emails in search results Using Outlook 4
T Search for incoming e-mails for a specified time range Using Outlook 1
S outlook 2007 calendar search Using Outlook 6
M Outlook macro to automate search and forward process Outlook VBA and Custom Forms 6
J Message search and edit, another way? Outlook VBA and Custom Forms 4
S Create A Search Folder That Looks For Message Class? Outlook VBA and Custom Forms 0
R Outlook for Mac - Advanced Search and Tracking Sent Emails Using Outlook 0
R Search/Jump to a folder by typing its name Outlook VBA and Custom Forms 1
M Sent mail not showing in Sent Items folder; but they can be found with Search Using Outlook 3
A Outlook 2019 having issues with 'people search' and not making suggestions in email To: etc Using Outlook 12
W Search Incomplete Outlook 2016 Using Outlook 5
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 4
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 0
A Using or not using apostrophes in search terms has this changed? Using Outlook 0
R outlook address book search broken Using Outlook 2
K Outlook.com is not showing, or finding via search, all my Contacts (People) Using Outlook 0
W Create Search Folder excluding Specific Email Addresses Using Outlook 5
R What's supposed to appear when just clicking into the search field? Using Outlook 7
Similar threads


















































Top