Open folder via command line/context menu

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.
jfc

Open folder via command line/context menu

Postby jfc » 05 Aug 2005 00:00

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

zcot
Big Cone-huna
Big Cone-huna
Posts: 606
Joined: 15 Jun 2005 10:58

Postby zcot » 05 Aug 2005 10:08

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.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 05 Aug 2005 14:21

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.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Guest

Postby Guest » 06 Aug 2005 02:18

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 06 Aug 2005 22:42

context menu thing was added to installer. you can test it here : http://vthr.videolan.org/~videolan/buil ... -win32.exe
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

ineedliang
New Cone
New Cone
Posts: 1
Joined: 11 Jul 2016 21:45

Re: Open folder via command line/context menu

Postby ineedliang » 11 Jul 2016 21:52

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

khairul90
New Cone
New Cone
Posts: 1
Joined: 07 Aug 2017 04:01

Re: Open folder via command line/context menu

Postby khairul90 » 07 Aug 2017 04:03

Hi all,

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

Also for loop command.

Thank you


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 43 guests