Re: Convert file names to a usable list?
- From: Gary <Gary@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 3 Jan 2008 14:35:05 -0800
Is it possible under Windows XP / Vista to create a database or list from
the
names of files from within a directory and subdirectorys?
I want to make a list/database of quite a lot of mp3s so i can order and
print them in either access or excel.
The file structure I use is:
C:\...\Music\artist\artist - title.mp3
Many thanks
Gary
Open up a cmd prompt window.
use the cd command to get to the directory of interest.
You didn't give the full path so I can't spell it out for you.
To go from the Music directory to the artist directory
the command would be
cd artist
You can go one directory at a time or do it all with one
command. If the directory name has any spaces in it
you must enclose the string in double quotes.
i.e.
cd "Documents and Settings"
Once you get to the directory of interest the command
dir > list.txt
will create the list that you want.
Also try
dir /w > list.txt
to see if you prefer that format.
Thank you, its close to what i need but it doesnt include the subdirectory
of the artist that contains the actual mp3 file - ie. it only lists the
artists.
A typical full path is:
c:\documents and settings\gary\my documents\my music\aerosmith\aerosmith -
love in an elevator.mp3
So you see if I am in the "my music" directory the 'dir > list.txt' command
only lists the artists not the actual music titles. One other problem is that
there maybe cover art, or other file types in some of the directories - is it
possible to only list the .mp3 file types?
Many thanks again
Gary
.
- Follow-Ups:
- Re: Convert file names to a usable list?
- From: HeyBub
- Re: Convert file names to a usable list?
- From: mayayana
- Re: Convert file names to a usable list?
- References:
- Re: Convert file names to a usable list?
- From: John
- Re: Convert file names to a usable list?
- Prev by Date: Re: Reinstalling XP Pro Questions
- Next by Date: Re: Favorites in Start menu opens but clicked URLs do not open
- Previous by thread: Re: Convert file names to a usable list?
- Next by thread: Re: Convert file names to a usable list?
- Index(es):
Relevant Pages
|