5

When I try to use VLC in command line in Windows, it opens up the VLC GUI. So is there a way I can use it as command line command instead?

2
  • To confirm are you looking for a headless (No GUI) approach to executing VLC? Commented Oct 19, 2018 at 0:03
  • @CraftyB Yes. No GUI. Commented Oct 19, 2018 at 0:05

1 Answer 1

5

Below is how to run headless vlc...

"C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --dummy-quiet "c:\test\test.mp3"

Just to clarify...

<path to vlc player> -I dummy --dummy-quiet <path to file>

Question had already existed, please see source below:

How do I use VLC Command Line In Windows Batch Line Without Showing GUI?

Thanks @retnikt

3
  • 1
    you should flag it as a duplicate instead of copying the solution from there like this Commented Oct 19, 2018 at 0:53
  • Apologies, I didn't realise that clicking flag has multiple options, I will use this in future. Thanks! Commented Oct 19, 2018 at 0:57
  • While this works in cmd, in PowerShell it fails with Unexpected token '-I' in expression or statement.. But prepending it with & seems to fix the issue Commented Sep 13, 2023 at 7:40

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.