I have a folder with several audio files and I want the cmd code to run all of them, one at a time. Anyone have an idea if this is possible and if so, how do you do it?
I have a folder with several audio files and I want the cmd code to run all of them, one at a time. Anyone have an idea if this is possible and if so, how do you do it?
Removing from the SO at How to run multiple. BAT files within a .BAT file
I think it would be something like this:
FOR %x IN (*.mp3) DO call player-mp3.exe "%x"
where you would have to have in the same folder a player-mp3.exe, which plays the music passed as a parameter.
But I do not know if for
will wait for one song to finish to start the next one, I think it runs all at the same time
Create a batch with the following content (assuming you are using the 32-bit version):
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --playlist-autostart --loop --fullscreen --playlist-tree %1
How to use:
> cria_playlist.bat c:\path\para\as\minhas\musicas