Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want a video to open, play and loop fullscreen automatically upon login. The following works when opening a cmd.exe window and typing it in:

"C:\Program Files\VideoLAN\VLC\vlc.exe" file:///xmas.mp4 -f --loop 

However, I have tried creating a shortcut, batch script, vbs script, scheduled task, EVERYTHING I can think of and it doesn't work. It appears to be launching VLC over and over and reports the following:

Your input can't be opened:
VLC is unable to open the MRL 'file:///xmas.mp4". Check the log for details.
File reading failed:
VLC could not open the file "xmas.mp4". (%m)

And so on, over and over again, until I end the process.

Any advice would be greatly appreciated. Thanks!

share|improve this question
where on your filesystem does xmas.mp4 reside? is it your VLC install folder? – Frank Thomas Dec 4 '12 at 16:43
Yes, I've tried it in several locations, including the VLC install folder, root and \Users\myusername\ – Drew M. Dec 4 '12 at 17:25
have you tried dropping the 'file:///'? I know VLC likes URIs but that should mean the file is in the system root (c:). if you put the file in the root of C, does it work? – Frank Thomas Dec 4 '12 at 21:14
Have you tried using the full path to the file xmas.mp4 in the place where you write file:///, plus using double quotes around it so that it doesn't escape off? – ShivamMax Jul 14 '13 at 5:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.