Saving all files in a folder to .txt

Associate
Joined
26 Nov 2006
Posts
624
trying to get a list of all the music files I (and another person) has, so I can obtain the ones I don't have, he has a lot of files so I'd like to create a notepad document to view all the files.

I tried this in command prompt
attrib /s C:\Users\SammyB\Desktop\Files\MUSIC *.* >mymusic.txt

something similar worked for me, but not for him, also for me I have the folder listing, I know there's a /-(letter) I can enter to just display the file name.
Any idea why this isn't working? is there anything else that can be used?
 
i'd use what Andre said.

the /b strips the crap from the file and the /s makes it scan subfolders
 
you going to check the whole list too?...why dont u just copy the folder and paste over your own...then u have everything.

if he songs are going into the thousands this is what i would do.
 
you going to check the whole list too?...why dont u just copy the folder and paste over your own...then u have everything.

if he songs are going into the thousands this is what i would do.

i would never do that, unless he uses exactly the same naming scheme, you'll have a hell of a job clearing up after!

I have..

Music, Music2, and Music3

1 is my main all tagged collection
2 is ones that need tagging/renaming use tag&rename, then can be put into 1
3 is various-artist albums, unsorted/single tracks that will never make it into 1
 
u have too much time on your hands :p

as much as i would like to have a nicely organized mp3 collection...mine is far from it

normally they stay in the folder they came......its the only sorting they ever get unless i really hate a song then it gets deleted
 
I'm quite OCD when it comes to my music folders! I purposely don't have single tracks because it'll mess up my folders :-p Much rather get the whole album!
 
I'm quite OCD when it comes to my music folders! I purposely don't have single tracks because it'll mess up my folders :-p Much rather get the whole album!

I'm not as bad as that. Each artist has their own folder, songs are filed per Album as well.

I also have a badly/untagged folder, like Bledd.
 
iTunes, for all its sins, does keep my music folders pretty well organised, providing the songs are tagged properly.
 
So, for the example above, you think that

dir /s /b %C:\Users\SammyB\Desktop\Files\MUSIC% > %mymusic.txt%

that should work?
If you remove the %% and replace with "" - so
Code:
 dir /s /b "C:\Users\SammyB\Desktop\Files\MUSIC" > mymusic.txt
should work

Alternatively, if you do this often (doubt it :) ) put this into a file called allfiles.bat
Code:
dir /s /b %1 %2
and then execute this with
Code:
allfiles "C:\Users\SammyB\Deskyop\Files\MUSIC" mymusic.txt
 
Back
Top Bottom