View Single Post
Old 16th February 2005, 07:48   #3  |  Link
video_magic
Registered User
 
Join Date: Jan 2005
Posts: 368
Thanks for the reply.

I am using a 'MSDos command prompt window' in Windows XP.

CD does displays the full path - not just the current directory name, and also, within my batch file I still don't know how to get the current directory name as being the name of my file before the extension.

Example of what I am trying to do. I want to copy my batch file into a directory that contains some mp3s.
Then I would like to click on the batch file and it creates an mp3 play-list (.m3u) in the directory of the mp3s in that directory.
So far - no problem!, the batch file as in my first post creates that mp3 play-list just fine and gives it the name 'ppp.m3u'

What I would like to do is have the created .m3u file have the name of the directory which it was created in.

So if I have a directory c:\foomusic\mjtunes\
and there are some mp3s in it, and I put my bat file in there and run it, then the playlist file that appears in there will be called mjtunes.m3u
__________________
Thankyou!, I am grateful for any help
video_magic is offline   Reply With Quote