Page 1 of 1

Issue with running VLC from .bat

Posted: 09 Oct 2009 14:39
by rellish
I'm trying to make a .bat file that will start a VLC Multicast stream and in Minimal View. So far i have that working fine but for some reason i cannot get the command prompt to close automagically :)

Has anyone else experience this?

I've tried it all of these ways below with no success of the cmd window closing.

@echo off
cd c:\program files\videolan\vlc
CALL vlc.exe -vvv udp://@229.1.1.7:5071 --qt-display-mode=2
EXIT

@echo off
cd c:\program files\videolan\vlc
CALL vlc.exe -vvv udp://@229.1.1.7:5071 --qt-display-mode=2
EXIT /B

@echo off
cd c:\program files\videolan\vlc
vlc.exe -vvv udp://@229.1.1.7:5071 --qt-display-mode=2
EXIT

@echo off
cd c:\program files\videolan\vlc
vlc.exe -vvv udp://@229.1.1.7:5071 --qt-display-mode=2
EXIT /B

@echo off
cd c:\program files\videolan\vlc
vlc.exe -vvv udp://@229.1.1.7:5071 --qt-display-mode=2
tskill cmd*

Any help would be greatly appreciated.
Thanks
Chris

Re: Issue with running VLC from .bat

Posted: 09 Oct 2009 15:17
by rellish
Figured it out. This works.

@echo off
cd c:\program files\videolan\vlc
start /b vlc.exe -vvv udp://@229.1.1.7:5071 --qt-display-mode=2

Re: Issue with running VLC from .bat

Posted: 06 Apr 2010 15:02
by caraboolee
thanks, it works for me