View Full Version : Making a list of files
bobbibee
12-11-2002, 04:08 PM
I'm not sure if this is the right department but any advice would be helpful.
My friend has a few hundred music files on his computer and he wants to make a list of them. Is there an easy way to do this, apart from typing each one out!
Can they be "captured" from the screen? (But not as a screen capture/picture)
They are style files i.e *.sty and so he just wants the file names.
System is Win 98 2nd edit.
Thanks
Bobby (in UK)
david eaton
12-11-2002, 04:36 PM
Hi,bobbibee
The easiest way to do this is to use the DOS "dir" command, and send the result to a file which can be edited.
Open a DOS box, either from start/programs, or start/run "command".
Change directory to the one containing the files, and enter the command
"dir *.* >file.txt" (without the quotes).
This will generate a text file containg all the filenames in the directory. To select a particular file type use the command *.ext where ext is the file extension you are interested in.
The file.txt caan be opened in notepad, word or whatever word processor you want, and file extensions edited out.
Hope that helps
David
Here (http://home.earthlink.net/~rmbox/Reticulated/Toys.html) (last listing) is a small program that lists, to a text file, the contents of a folder. It adds a right click option to the folders context menu. So all you would have to do is open Explorer, right click on the folder that contains the music and then select the list option......
Hi,
A suggestion, why not create a batch file you can use over and over again.
1. Start notepad
2. Save the file as "filelister.bat" making sure to add the .bat extension.
3. Now enter this text: dir *.sty /B >list.txt
4. Close and save the file.
5. Now run the file and it should create a text file in the same directory called "list.txt"
This bat file can be used to list files in any directory, just simply copy the bat file into the directory you wish to list.
Just another idea
Slim
bobbibee
12-11-2002, 08:20 PM
Thanks a lot for that - brilliant. I've tested it on my comp. It worked fine David and also the program that you suggested MJC. The only thing is I think he will have too much info there i.e the DOS names, file sizes etc. when he only wants the "long names". Perhaps he'll have to get down to some serious copy & pasting!
Getting late here so havent had time to check yr idea Slim but I will look at it tomorrow.
Thanks again
Bob
babywontsleep
12-11-2002, 10:41 PM
I may be a little late but i found this program to be amazing for listing files especially music/songs. a few clicks and its done.http://www.spadixbd.com/freetools. its called jdir printer hope that this helps
bobbibee
12-12-2002, 03:26 PM
Baby -- That J Dir Printer is a very neat program and gives a few options too.
Many thanks
Bob
vBulletin v3.6.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.