The other day i've posted the content on how to create a bat file and to create an m3u file. Now the harder part in this is that you have to create the entire file and then create a bat file. Now to avoid this i use a test bat file which can create the playlist of the songs present in a folder automatically whenever it is invoked.
To use this create a bat file named playlist.bat ( how to create a bat file)
To create this:
1) Goto start--> run
2) type notepad
3)type dir/b>playlist.m3u in the notepad
4) save it as playlist.bat
5) Now place this bat file in the folder where you want to create the playlist of the music files and double click the bat file. This will generate the playlist
6) Now use this file to listen to the entire list of the music files that you want to hear.
Note: The final playlist that we have created should be in the same folder as that of the parent folder.
I am not an ardent blogger, but I am interested in writing and I find this platform to be quick enough to reach a lot of audience. I find it easy to entertain audience through writing and hence I generally write about the issues of life such as Love, Education, Computers, Automobiles, Men and Women, trending topics in science, and college humor.
Wednesday, December 2, 2009
Creating an M3U playlist using bat file
Working as a Research Engineer at an Automotive R&D center is quite stressful at times. In order to take a break I tend to write blogs to project my thought process and to vent out the humor side of the world from my perspective. Some contemplation and some ideas put together in this blog to give you a brief gist of my internal intentions.
How to copy Multiple Files/Folder names in bulk to Notepad file
Reading one of this blog the other day i stumbled onto this title: “How to copy Multiple Files/Folder names in bulk to Notepad file“. I remember my self wanting to write a small app that would do that exact thing because i needed it a couple of times. At that time i decided not to waste any time on it since i thought that no one would need it actualy. But reading this post i was convinced i should write it since it could be usefull. It took me about an hour and here is what i came up with.
create a bat file in the folder u want list
for eg: if u want to take the list of a folder called
test than go to the folder test and inside the folder test create a bat files called test
Than in the bat file type dir /b >list.txt and save than double click. It will automatically generate the name..
Note: To create a bat file
1. Click Start
2. Click Run
3. Type: notepad and press enter.
After that in the notepad u write what ever u want to write in the bat files.. to generate automatic list type dir /b >list.txt
4.Go to File, Click Save as And save it as test.bat
5. Thats done so double click the bat file..
You can use this list to create an m3u file to play a group of songs. This is the procedure to create an m3u file:
create a bat file in the folder u want list
for eg: if u want to take the list of a folder called
test than go to the folder test and inside the folder test create a bat files called test
Than in the bat file type dir /b >list.txt and save than double click. It will automatically generate the name..
Note: To create a bat file
1. Click Start
2. Click Run
3. Type: notepad and press enter.
After that in the notepad u write what ever u want to write in the bat files.. to generate automatic list type dir /b >list.txt
4.Go to File, Click Save as And save it as test.bat
5. Thats done so double click the bat file..
You can use this list to create an m3u file to play a group of songs. This is the procedure to create an m3u file:
- Click Start, point to Programs, point to Accessories, and then click Notepad.
- Create a text file that includes the full path to the files you want to include.
- On the File menu, click Save. Save the file with one of the following extensions, based on the types of files included.
- For files of type .wav, .mp3, .mpg, or .mpeg, use the extension .m3u.
- For files of type .asf, use the extension .asx.
c:\windows\media\chord.wav
c:\windows\media\ding.wav
c:\windows\media\chimes.wav
Save this file as Filename.m3u, where Filename is the name you want to use for the file. When you double-click this file or open it in Windows Media Player, it plays the files in order from the top of the file to the bottom.
c:\windows\media\ding.wav
c:\windows\media\chimes.wav
Working as a Research Engineer at an Automotive R&D center is quite stressful at times. In order to take a break I tend to write blogs to project my thought process and to vent out the humor side of the world from my perspective. Some contemplation and some ideas put together in this blog to give you a brief gist of my internal intentions.
Subscribe to:
Posts (Atom)