Stop libraries search from showing subfolders

an531

New member
Local time
9:06 AM
Messages
1
Hi guys, is there any way to stop library search results from showing subfolders? Whenever I search for a folder name in a library (comprising multiple locations, i.e. multiple folders from multiple drives) not only do I get the folder/folders that I searched for, but also ALL the folders and files that are contained in that folder/folders, which clutters the results to the point of making the whole process useless.

I deselected the "Include subfolders in search results..." option in Folder Options, but this only seems to work for individual folder searches and doesn't seem to affect libraries at all.

Furthermore, after a search in any location, including libraries, there are options at the end of each search under "Search again in" and there is an option "Subfolders". Selecting this option works for searches in individual folders (and includes subfolders if they were not included in Folder Option), but it does absolutely nothing for libraries. Therefore, it would seem that the inclusion of subfolders is enabled in library searches by default and cannot be easily turned off.

Also, when I enabled indexing (just to be able to use libraries) I noticed that there are options to exclude certain files from being indexed. When I excluded all of them, this helped a little, because no files were displayed in a library search, just folders. However, this didn't get rid of the sub-folders, just the sub-files.

Is there any way around this? Perhaps some registry hack to prevent libraries to show subdirectories? Is there any other method of searching multiple locations from one window using built-in Windows tools?

I have a third party programme called UltraFileSearch, which allows me to search just for folder names in pre-specified locations, but I can only search for an folder. I don't have a nice list of folders that are pulled from several locations into one window.

Thanks for your help in advance.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Enterprise x64
CPU
Q9550
Motherboard
Asus P5Qe
Memory
Kingston HyperX DDR2 1066 Mhz
Graphics Card(s)
Asus GTX 970
Hard Drives
3x Toshiba 3TB
1x WD Red 3TB
Antivirus
Microsoft Security Essentials
Browser
Chrome
Hello an531, and welcome to Seven Forums,

I tend to rely on DIR /w from a command prompt to do what you want to do. But if you'd rather GUI, then perhaps post #8 from this thread Show multiple drives as one folder answers your question,
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Back
Top