Issue with running VLC from .bat

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.
rellish
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Oct 2009 16:50

Issue with running VLC from .bat

Postby rellish » 09 Oct 2009 14:39

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

rellish
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Oct 2009 16:50

Re: Issue with running VLC from .bat

Postby rellish » 09 Oct 2009 15:17

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

caraboolee
New Cone
New Cone
Posts: 2
Joined: 13 Feb 2010 21:38

Re: Issue with running VLC from .bat

Postby caraboolee » 06 Apr 2010 15:02

thanks, it works for me


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 91 guests