954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Batch menu for VLC

I was dragging and dropping flv files onto this bat file so I could watch in fullscreen on my second monitor:

set vlcPath="C:\Program Files\VideoLAN\VLC\vlc.exe"

%vlcPath% %1 --video-x=1366 --video-y=768 --width=300 --height=300 --fullscreen --no-video-title-show --no-embedded-video --no-qt-fs-controller


but would rather write a batch file with a menu so I could simply select the video I want and it would run with the above parameters. here is what I got so far

@echo off
color 07
title VLC Video Menu
echo.
echo What you tryna watch?!?:
echo===================
echo.
echo 1. Adapter Cards - Part 1 of 2
set choice=
set /p choice=Type the number to watch the movie.
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto Adapter Cards - Part 1 of 2
ECHO "%choice%" is not valid, try again
ECHO.
goto start
:Adapter Cards - Part 1 of 2
ECHO Now Playing Your Movie: Adapter Cards - Part 1 of 2
goto end


What piece of code am i missing to have a flv file open in vlc with the parameters listed at the top? I assume it would go under ever menu entry right after the "echo now playing" line

Staric
Newbie Poster
15 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: