Run VLC minimized & play all songs in a folder

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Ron Hirsch
New Cone
New Cone
Posts: 6
Joined: 26 Feb 2010 15:52

Run VLC minimized & play all songs in a folder

Postby Ron Hirsch » 26 Feb 2010 16:07

I want to create a batch file in Windows 7 64 bit to do the following

Start VlC minimized, and then play all the MP3 files in a given folder. And when it reaches the last MP3 file, I'd like it to loop back to the beginning continuously.

The line below will open VLC, and play the MP3 file noted. But it does not start minimized.

START "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --qt-start-minimized" "D:\Library\Song01.mp3"

If I change the line to this below, it gives me an error message that it cannot find the file to play. And of course it does not minimize the window.

START "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --qt-start-minimized" "D:\Library\*.mp3"

Once I can get this to function, I will add a second line in the batch file to run another program, where VLC will then create backgkround music.

So, can anyone advise me the string to run VLC minimized, and play all the songs in a specified folder, and continually loop back when the end of the list is reached?

Thanks for the help -

Ron Hirsch

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Run VLC minimized & play all songs in a folder

Postby VLC_help » 26 Feb 2010 18:51

You can just input the folder, VLC will automatically parse all playable files from there. And --qt-start-minimized works fine in here.

Ron Hirsch
New Cone
New Cone
Posts: 6
Joined: 26 Feb 2010 15:52

Re: Run VLC minimized & play all songs in a folder

Postby Ron Hirsch » 26 Feb 2010 19:42

Thanks for your reply. Sorry, but I must be interpreting something erroneously, as I still cannot get it to do what I want.

I changed to
START "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --qt-start-minimized" "D:\Library\"

But nothning played, and the VLC window did not minimize. So I must be doing something wrong.

Would you be kind enough to correct my string, and show me the final edited string.

Thanks

Ron Hirsch

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Run VLC minimized & play all songs in a folder

Postby VLC_help » 27 Feb 2010 17:06

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --qt-start-minimized "C:\folder"
works fine without the start, so I am guessing start thinks first "" section is the title, so something like

Code: Select all

start "stupiSTART" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --qt-start-minimized "C:\folder"
should work.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests