Run VLC from a batch file
Posted: 22 Nov 2010 19:10
Sometime earlier this year I created a batch file to do these 2 things below, getting some help from this forum.
I"m running VLC version 1.1.4
1. Start VLC minimized, and have it play a group of songs in a defined folder, via an XPSF playlist I created, and then to loop back to the beginning of the playlist when the last song had been played.
2. Run a slide show program, after running the code to start VLC playing (minimized).
The batch file worked fine back then, but some things got moved around in my Win 7 64 bit OS system, so I changed the elements in the batch file to reflect the new paths and filenames.
The batch file does not work properly anymore. The batch file is noted below. All the file names and paths are correct. But, the only thing that happens when I run this batch file is that VLC starts playing, not minimized, and the slide show program (DSSAR.EXE) does not run.
Start "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "D:\DSSSHOWS\Moviesongs.xspf" --qt-start-minimized --loop START "\D:\DSSSHOWS\DSSAR.EXE"
Where have I gone wrong? I may not need all the quotation marks I used, but removing the 2nd and/or 3rd set makes no difference.
Thanks for any help anyone can offer.
Ron Hirsch
I"m running VLC version 1.1.4
1. Start VLC minimized, and have it play a group of songs in a defined folder, via an XPSF playlist I created, and then to loop back to the beginning of the playlist when the last song had been played.
2. Run a slide show program, after running the code to start VLC playing (minimized).
The batch file worked fine back then, but some things got moved around in my Win 7 64 bit OS system, so I changed the elements in the batch file to reflect the new paths and filenames.
The batch file does not work properly anymore. The batch file is noted below. All the file names and paths are correct. But, the only thing that happens when I run this batch file is that VLC starts playing, not minimized, and the slide show program (DSSAR.EXE) does not run.
Start "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "D:\DSSSHOWS\Moviesongs.xspf" --qt-start-minimized --loop START "\D:\DSSSHOWS\DSSAR.EXE"
Where have I gone wrong? I may not need all the quotation marks I used, but removing the 2nd and/or 3rd set makes no difference.
Thanks for any help anyone can offer.
Ron Hirsch