Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Create Batch File For Playlist
Name: bulleke Date: April 7, 2005 at 09:17:33 Pacific OS: Windows XP CPU/Ram: 128 MB
Comment:
How can I create a batchfile that searches every FILE that begins with "a" or "the a" and ends on ".mp3" And then puts those files in "a.m3u" sorted by title of the mp3-file example of 2 files ------- #EXTM3U #EXTINF:A Ghost Between Us - Nightwish N\Nightwish\A Ghost Between Us.mp3 #EXTINF:A Movie Script Ending - Dead Cab For Cutie D\Dead Cab For Cutie\A Movie Script Ending.mp3 -------
it should create #EXTINF: title - artist path without f:/audio
Name: bulleke Date: April 9, 2005 at 05:07:26 Pacific
Reply:
I found out that I only need -- N\Nightwish\A Ghost Between Us.mp3 D\Dead Cab For Cutie\A Movie Script Ending.mp3 -- Now I have -- @ECHO processing a.m3u @dir /b /s "a*.mp3" "the a*.mp3" > a.m3u cls -- but that gives -- F:\audio\N\Nightwish\A Ghost Between Us.mp3 F:\audio\D\Dead Cab For Cutie\A Movie Script Ending.mp3 -- and it should be without F:\audio
But I don't know how to do that
0
Response Number 2
Name: Kurdy Date: April 15, 2005 at 14:06:51 Pacific
Reply:
This one creates playlist.m3u for all *.mp3 in all subdirs and places it in that subdir.
for /R %%A in (*.mp3) do @echo %%~nxA >> "%%~dpAplaylist.m3u"
Summary: Wow, I leave for a few days, and no one posts this? The lot of you are slipping. Slipping, I say! Well, if all you're going for is a warning message, it could be something like this batch file: @for %...
Summary: Please tell us what type of files gets created, and we can help in creating batch file for you. you can always use windows task scheduler to schedule running your scripts. ...