Using a file instead of specifiying command line options

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.
jml674
Blank Cone
Blank Cone
Posts: 38
Joined: 03 Feb 2010 19:54
Location: France

Using a file instead of specifiying command line options

Postby jml674 » 24 Oct 2011 10:31

Hello there,

I need to pass command line options to vlc through Windows scheduler.
Command line length is limited to 261 characters when using Windows scheduler This is something easily reachable when you include a dirctory/file destination under windows.
Is there a way to specify VLC a filename to get options from ?

thanks in advance.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Using a file instead of specifiying command line options

Postby mederi » 24 Oct 2011 11:51

Batch simple text files (*.bat, *.cmd)? Create one and put all your command line in there. Then you can schedule to run the command file.

jml674
Blank Cone
Blank Cone
Posts: 38
Joined: 03 Feb 2010 19:54
Location: France

Re: Using a file instead of specifiying command line options

Postby jml674 » 07 Jan 2012 13:01

.bat is indeed a generic solution. In my case, I finally discovered the XML format that which is an even better solution I can use with the schtasks vista/windows7 command.

thanks for the help though.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 37 guests