Make list of files in a folder

Page 1 of 2 12 LastLast

  1. Posts : 513
    Windows 10 Pro 19041 x64
       #1

    Make list of files in a folder


    Hello,I have several hundreds video clips (mp4), arranged in several folders.Wanted to make a list of them, not to print, just a list in the computer.On some site I found this: To write in the address line of the browser the full path to thatfolder and Enter, the list was done, then on an empty area right-click and save as...The index was done.But when I opened the index page, the list was doubled and even tripled, A to V once, then twice and even third.Clicking on any line in the index it opened a new page and video started sometimes to play and sometimes only audio was heard, and going down the list clicking on a line, got a "File was not found".This also is with listing some folders with music (mp3).Some explanation what is / was done wrong, or any other method to make such simple list, not for printing.Answers will be appreciated.ThanksMotim
      My Computer

  2. ignatzatsonic's Avatar
    Posts : 2,406
    Windows 10 Home, 64-bit
       #2

    It's complicated a bit by the fact that the files are in "several" folders, rather than one folder.

    Do you have any experience with using the command prompt?

    If so, adapt the following DIR command to your situation:

    dir c:\Music /b /s > c:\textfile.txt


    where "Music" is the folder containing the files and C: is your hard drive. The /s in the above command should pick up all the files in the Music folder and all subfolders.

    At a command prompt, navigate to the folder in question and enter the command. The list will be found in the "textfile.txt" file in the root of the C drive.

    If you can't use the command prompt, you could also install the Everything search tool and tell it to find all video files with a particular extension. Then just copy the list it shows you with the mouse and paste the list into a Word or text file.

    Probably other ways too.
      My Computer


  3. Posts : 1,286
    X
       #3

    Are you trying to create a text file with a list of file names?
    If so:
    Open a command prompt
    Go to the targeted folder
    Type this:
    dir >some-file-name
      My Computer

  4. Berton's Avatar
    Posts : 10,550
    Win10 Pro Versions 2004 and 2009/20H2, Win10 Pro IP_Dev, Win10 Home 1909
       #4

    To add, one can use dir c:\Music /o/b/s>c:\textfile.txt to alphabetize the list. The only space needed in the command is the one right after Music. The /o makes it do the organizing.
      My Computers

  5. dalchina's Avatar
    Posts : 30,045
    Win 10 Pro (1903)
       #5

    Clicking on any line in the index it opened a new page and video started sometimes to play and sometimes only audio was heard, and going down the list clicking on a line, got a "File was not found".
    My impression is that what he wants is a list he can click on. To me that suggests creating one folder with shortcuts to the items in the various media folders.

    And perhaps Motim wants that to be a dynamic list- i.e. always up to date with respect to changing content in those folders.

    If so, this could be done using Autohotkey, with a script which scans through the files in each folder in turn and for each file use this command to create a shortcut:
    Make list of files in a folder-1.jpg

    Motim?
      My Computers

  6. Ztruker's Avatar
    Posts : 13,512
    Windows 10 Pro X64 20H4 19042.746
       #6

    I like the tree command for this sometimes:

    tree /f /a > %temp%\dirList.txt
    notepad %temp%\dirList.txt
      My Computers

  7. Stevekir's Avatar
    Posts : 340
    Windows 10 Home 64 bit (with Creators OS)
       #7

    ignatzatsonic said:
    It's complicated a bit by the fact that the files are in "several" folders, rather than one folder.

    Do you have any experience with using the command prompt?

    If so, adapt the following DIR command to your situation:

    dir c:\Music /b /s > c:\textfile.txt


    where "Music" is the folder containing the files and C: is your hard drive. The /s in the above command should pick up all the files in the Music folder and all subfolders.

    At a command prompt, navigate to the folder in question and enter the command. The list will be found in the "textfile.txt" file in the root of the C drive.

    If you can't use the command prompt, you could also install the Everything search tool and tell it to find all video files with a particular extension. Then just copy the list it shows you with the mouse and paste the list into a Word or text file.

    Probably other ways too.
    Here is the result I get:

    C:\Users\Steve>dir d:\Music /b /s > c:\textfile.txt
    Access is denied.

    I am the administrator.
      My Computer

  8. dalchina's Avatar
    Posts : 30,045
    Win 10 Pro (1903)
       #8

    The OP stated he didn't want a printable list...
      My Computers

  9. ignatzatsonic's Avatar
    Posts : 2,406
    Windows 10 Home, 64-bit
       #9

    Stevekir said:
    Here is the result I get:
    C:\Users\Steve>dir d:\Music /b /s > c:\textfile.txt
    Access is denied.

    I am the administrator.
    Yeah, but did you run the command prompt at the administrator level by right clicking it?

    I'm assuming you in fact do have a d:\music directory.
      My Computer

  10. Clint's Avatar
    Posts : 429
    Windows 10 Pro 64 bit
       #10

    Right Click Enhancer will do a file list, and it's free.
    Right Click Enhancer | Control Panel for your right click

    Make list of files in a folder-r-click.png
      My Computers


 
Page 1 of 2 12 LastLast

  Related Discussions
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 04:19.
Find Us




Windows 10 Forums