Forum menu
making a list of fi...
 

[Closed] making a list of file names

Posts: 480
Free Member
Topic starter
 

Hi i am looking for a bit of computer advice. I have an external hard drive with some films on it and would like to copy the names of the film to word doc or similar, so that should the hard drive drop its guts I would be able to source the films again. As there are quite a few film I dont want to have to type them all out


 
Posted : 30/08/2020 10:20 am
Posts: 3272
Free Member
 

What OS are you running? Windows?


 
Posted : 30/08/2020 10:27 am
Posts: 1205
Free Member
 

Are all the films in the same folder? Assuming yes and a windows user, select all the files (ctrl + A) then hold shift while right clicking on the selected files. In the menu that appears you should then be able to 'copy as path' and paste the list of filenames into word.


 
Posted : 30/08/2020 10:32 am
Posts: 0
Free Member
Posts: 12883
Free Member
 

If its windows

Copy this

dir /b > fileslist.txt

Into notepad and save it as a .bat

Place it in the folder and "open" it. It will create a text file of all the files.

I can't remember if that makes a list of everything including subfolders or not but its relatively easy to change.

Other options allow you to remove the filepaths etc.

Its like using the command line but you can reuse it.


 
Posted : 30/08/2020 10:48 am
Posts: 3272
Free Member
 

You will need to also specify the /s flag to grab any files in subdirectories.


 
Posted : 30/08/2020 10:54 am
Posts: 0
Free Member
 

Karen's Directory Printer


 
Posted : 30/08/2020 12:55 pm
Posts: 78297
Full Member
 

If its windows

Copy this

dir /b > fileslist.txt

Into notepad and save it as a .bat

Place it in the folder and “open” it. It will create a text file of all the files.

Exactly this only you don't need to mess about with batch files. Open a CMD prompt in the folder you need to catalogue and type in the dir command.


 
Posted : 30/08/2020 1:02 pm