Hello. I have made a very simple batchfile, named dirmp3.bat, to create a playlist of all mp3s in the current Folder. The contents of dirmp3.bat so far are:
dir /B /O *.mp3 > ppp.m3u
I then want to rename ppp.m3u to be "name of current folder".m3u
Or preferably output to "name of current folder".m3u in the first place and miss out the renaming step.
I've looked on the internet and have also tried fiddling around with some Dos commands but can't figure out how to do it. I would like a way that is safe for all Windows versions of Dos if possible - i.e. folder names containing spaces, and if there is a way that would also be safe in True MSDos so much the better
Thanks if someone can give an example or point to a link