1.    05 Jun 2016 #1
    Join Date : Dec 2015
    Posts : 28
    Windows 10 Home

    Outputting Directories To Text

    i am trying to create a text file with a list of directories, but having troubles because i can't get as specific as i would like.

    dir /s /b /ad /on > filename.txt
    and some programs i have tried aren't getting what i want exactly

    1. the root directory name is redundant and i don't need it in my text file
    2. i would like some control over how deep the folders go
    3. if i can alphabetize the deepest directories, that would be great

    why? My roommates want a list of movies that i have on my computer. They are all organized in a single subfolder (director, actor, decade, or genre). All i want is a list of each movie's folder (/Movie Folder/) and in alphabetical order. The programs i have tried insist on organizing them by its top directory.

    Any ideas?
      My System SpecsSystem Spec

  2.    05 Jun 2016 #2
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3

    Try this

    File Explorer
    Navigate to the parent folder or drive of your movie folders

    in the search box, type the following


    Click on the column heading to sort by that field (Name, Date modified, Type, etc)

    When the search is complete, select all in the results
    On the Home menu - Select Copy path

    Click image for larger version. 

Name:	fxpCopyPath.png 
Views:	0 
Size:	66.8 KB 
ID:	83611

    Then paste the clipboard in a text file
      My System SpecsSystem Spec

  3.    07 Jun 2016 #3
    Join Date : Dec 2015
    Posts : 28
    Windows 10 Home

    YES! Thank you. This is a good method. I never knew you could do these things in file explorer
      My System SpecsSystem Spec

  4.    07 Jun 2016 #4
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3

    Now you know

    Glad it helped ... When you get the chance, please mark your thread solved
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Solved Problem with deleting directories from the c dive.
I have about 500 empty directories on my c: drive with names like the ones pasted below. I believe a failed Quicken install left them there. Anyway, normally this would be no big deal, but in this case, they are all at the root level and it makes...
General Support
Windows 10 and DVD directories
I have an issue I can't seem to find decent info about. My Win 10 laptop won't see files and folders on DVDs I burned on another box unless I make an ISO on the Win 7 machine first, and then copy it over to the Win 10 machine and "mount" the ISO. ...
General Support
Missing directories in 2 popular file managers
Both FreeCommanderXE and MultiCommander fail to show the c:\Program Files (X86) directory. Furthermore, FreeCommanderXE fails to show Users\<username>\Appdata and it's subdirectories. The following screenshot shows this in 3 overlapping windows;...
Software and Apps
Realtek audio mic outputting to speakers/headphones
well i had this problem fixed but for some reason it's back and it won't go away no matter what i do i can't figure out how to fix it I can hear my microphone through my headphones and speakers i have listen to device unchecked but the weird part...
Drivers and Hardware
Merge Directories
I have two large Directories (about 25 GB each, 6-7000 files) that contain similar information. One may have newer files than the other. I would like to merge them into one Directory and eliminate duplicate files. Is there some software that...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:23.
Find Us
Twitter Facebook Google+

Windows 10 Forums