We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

'Flat' view across several folders (Win10)

Options
KingL
KingL Posts: 1,713 Forumite
I want to have a view of the sub-folders from several parent folders, but presented as-if they were all in the same folder. Is this possible? When they introduced Libraries in Windows, I was hopeful that Libraries would do it but it doesn't - it only presents everything in the original hierarchy.

I don't want to move or copy any files/folders - just view the existing ones differently sometimes.


to elaborate, the directory structures are, say:

D:\Folder1\CatsSubfolder
D:\Folder1\ElephantsSubfolder
D:\Folder1\MiceSubfolder
D:\Folder1\WhalesSubfolder

D:\Folder2\BirdsSubfolder
D:\Folder2\MonkeysSubfolder
D:\Folder2\SnakesSubfolder
D:\Folder2\ToadsSubfolder

D:\Folder3\FishSubfolder
D:\Folder3\FoxesSubfolder
D:\Folder3\OcelotsSubfolder
D:\Folder3\PeacocksSubfolder


.... but I want to view them as a single (flat, alphabetic-ordered) list of subfolders like this:

BirdsSubfolder
CatsSubfolder
ElephantsSubfolder
FishSubfolder
FoxesSubfolder
OcelotsSubfolder
PeacocksSubfolder
MiceSubfolder
MonkeysSubfolder
SnakesSubfolder
ToadsSubfolder
WhalesSubfolder

(..and then subsequently drag and drop them into an app uses the files contained therein)


I don't want to move or copy/change anything in the original file structure - just view it differently (sometimes, not permanently) for a particular purpose.

Windows 10.
«1

Comments

  • KingL
    KingL Posts: 1,713 Forumite
    edited 22 July 2017 at 10:42AM
    Hi thanks for the replies

    I've had a look at these but if I understand correctly, both these methods are limited to a 1-to-1 relationship between the source folder and the resulting link/junction.

    If I make a link/junction to (Parent) Folder1, then another one to Folder2 and a third one to Folder3, they just appear as three "files" (and not a list of the (sub)folders contained under them), the same as with 'Libraries'. My aim is to see a 'flattened-out' view of the Folders so I can see a flat list of all their Subfolders.

    I suppose I could make a link/junction to *each and every* Subfolder, but there are hundreds of them and it would be easier to do that by just making bog-standard Windows shortcuts to them. The aim is to (easily) see a concatonated list of all the Subfolders. I don't see how to do this with Junctions or (hard)Links.....

    I'm sure I'm missing something, what is it ? :)

    tia

    .
  • ThemeOne
    ThemeOne Posts: 1,473 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    I haven't tried it myself, but you could look at doing a saved search. I suspect you'd have to manually compose the syntax for the search criteria, to include all the folders you mention.
  • ThemeOne
    ThemeOne Posts: 1,473 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    What I mean is described quite well here:
    https://superuser.com/questions/538670/how-to-search-in-multiple-folders-in-windows-7

    I just tested it and saved the search and it works fine for me.
  • grumpycrab
    grumpycrab Posts: 5,025 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Bake Off Boss!
    So for your example...
    goto DOS prompt
    mkdir flatsubfolders
    cd flatsubfolders
    mklink /D BirdsSubfolder D:\Folder2\BirdsSubfolder
    mklink /D CatsSubfolder D:\Folder1\CatsSubfolder
    etc
    If you put your general location in your Profile, somebody here may be able to come and help you.
  • KingL
    KingL Posts: 1,713 Forumite
    grumpycrab wrote: »
    So for your example...
    mklink /D BirdsSubfolder D:\Folder2\BirdsSubfolder
    mklink /D CatsSubfolder D:\Folder1\CatsSubfolder
    etc
    Oh, I see. Pretty tedious doing that for hundreds of subfolders....

    Also, (I should have mentioned) the list of subfolders isn't static, so if I add a D:\Folder1\AnteatersSubfolder next month, I'd prefer to have a way that catches it automatically..
  • KingL
    KingL Posts: 1,713 Forumite
    ThemeOne wrote: »
    What I mean is described quite well here:
    https://superuser.com/questions/538670/how-to-search-in-multiple-folders-in-windows-7

    I just tested it and saved the search and it works fine for me.
    That was looking hopeful. Are you using Windows 7? In windows 10, I don't have a "custom" button (same as this guy in Win 8). If I do a search from a subfolder and save the search, it doesn't save any path statement(s). I guess it must be possible to include (multiple) path statements in search terms.. will have to find out how....
  • ThemeOne
    ThemeOne Posts: 1,473 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    KingL wrote: »
    That was looking hopeful. Are you using Windows 7? In windows 10, I don't have a "custom" button (same as this guy in Win 8). If I do a search from a subfolder and save the search, it doesn't save any path statement(s). I guess it must be possible to include (multiple) path statements in search terms.. will have to find out how....

    Yes the link describes Windows 7 and I did my test in W7 also. Hopefully it's do-able with some slight variation in W10, I should be able to check that out later.
  • I_have_spoken
    I_have_spoken Posts: 5,051 Forumite
    edited 22 July 2017 at 2:40PM
    >Pretty tedious doing that for hundreds of subfolders.... <

    Script it in a batch file. If run interactively use single %

    cd d:\
    REM assumes flatfolder has been created once, delete all links and start again
    rmdir flatfolder /s
    mkdir flatfolder
    cd D:\Folder1\
    REM loop over each directory and create a hard directory junction in flatfolder
    for /D %%i in (*) do mklink /J "d:\flatfolder\%%i" "%%i"
    cd D:\Folder2\
    for /D %%i in (*) do mklink /J "d:\flatfolder\%%i" "%%i"
    cd D:\Folder3\
    for /D %%i in (*) do mklink /J "d:\flatfolder\%%i" "%%i"
  • were
    were Posts: 632 Forumite
    this fantastic utility will so what you want. You can copy, cut and delete file from the list, but you can only past them back via explorer to your preferred directory.

    You can print the list out, or pete the list into a file. Also there are some hidden columns, just right click on top op the columns and select "choose columns"

    Also you can sear for duplicates across drives and directories, and no duplicates.

    http://www.nirsoft.net/utils/search_my_files.html
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.8K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.