Page 1 of 1

Open folder via command line/context menu

Posted: 05 Aug 2005 00:00
by jfc
Hello,

is there a way to open a whole folder with vlc using the command line, like it is possible through the menu? (File > Open Folder).

I also search for a way to get an entry into my context menu (WinXP) that allows me to open the folder in vlc. (The audio player foobar2000 does that e.g.)

Thanks for answers,
jfc

Posted: 05 Aug 2005 10:08
by zcot
you can use a command like this in a shortcut command, batch file, or whatever:

Code: Select all

vlc C:\media\video

or quoted for a space-broken path..

Code: Select all

vlc "C:\My Documents\something"

As for doing a folder for the context menu:

The easiest way is to just add a vlc shortcut to the "SendTo" system folder for your name profile. And when you get to the folder of your choice you can [right-click it] -> [SendTo] -> [VLC]

otherwise:
Open cheesy "My Computer" or Explorer -> [Tools] -> [Folder Options] -> tab [File Types]...

Select "Folder"..

click "Advanced" to the bottom..

click "New"..

for Action: type something like "Open in VLC"

for Application blahahalkh [Browse] to your VLC install
(C:\Program Files\VideoLAN\VLC\vlc.exe?)

next, click [OK]..

-then [Apply], or maybe just [OK] again..

there you have it.. now you right-click a folder and see Open in VLC.

Posted: 05 Aug 2005 14:21
by dionoea
If someone reminds me to do so, i'll add such an option in the contextual menu for next version when i get back from work.

Posted: 06 Aug 2005 02:18
by Guest
you can use a command like this in a shortcut command, batch file, or whatever:

Code: Select all

vlc C:\media\video
or quoted for a space-broken path..

Code: Select all

vlc "C:\My Documents\something"
Thanks, I had added a final "\", but now it works!
[add vlc to folder context menu]
That is what I was searching for! Thanks once again,

jfc

Posted: 06 Aug 2005 22:42
by dionoea
context menu thing was added to installer. you can test it here : http://vthr.videolan.org/~videolan/buil ... -win32.exe

Re: Open folder via command line/context menu

Posted: 11 Jul 2016 21:52
by ineedliang
Hi There,

I am currently using this line of code in a batch file to run a folder of videos with the settings I like. I plan to let the screen run these videos 24/7. Was wondering if there are settings I can add to optimize video output for
slower computers. Also wondering if there is a way to automatically update the files being played if files are added or removed from the folder. Last but not least is there anything i can add that will reduce memory usage / cache over time?

"C:\Program Files\VideoLAN\VLC\vlc.exe" --playlist-autostart --loop --playlist-tree -Z --no-video-title -f --volume 224 --qt-pause-minimized --one-instance --high-priority C:\Users\DSIGN-NGSU\Desktop\playlist

Thank you muchly,

Charlie the noober

Re: Open folder via command line/context menu

Posted: 07 Aug 2017 04:03
by khairul90
Hi all,

Is there a command line for video position x,y and size w,h.

Also for loop command.

Thank you