command line file spec \\name\file no longer working

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.
rocket888
Blank Cone
Blank Cone
Posts: 47
Joined: 01 Jul 2008 10:01

command line file spec \\name\file no longer working

Postby rocket888 » 29 Aug 2011 06:13

I just downloaded the latest version of vlc, 1.1.11 and my scripts which invoke vlc with a file name no longer work if the file is on a remote windows share using the format of \\machine\filespec....

This used to work just fine on 1.0.5, the previous version I had been using.

I get an error that says it can't find the file and lists out a file spec string which is the concatenation of the default local directory vlc is running from and the file spec. For example, it might look like,

"C:\Program Files\VideoLAN\VLC\\\machine\rest of file spec"

which explains the failure, but not why vlc is constructing this file spec.

I verified that the command line is correct using MS process explorer. Interestingly, when using vlc 1.0.5, when it displays the file spec on the screen for the first few seconds, it is shown as (null)\\machine\file.... Never was quite sure what that (null) was all about, however it didn't effect the outcome, which as mentioned, it works just file.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: command line file spec \\name\file no longer working

Postby Jean-Baptiste Kempf » 29 Aug 2011 11:56

Use file:\\machine\something\file.avi
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

rocket888
Blank Cone
Blank Cone
Posts: 47
Joined: 01 Jul 2008 10:01

Re: command line file spec \\name\file no longer working

Postby rocket888 » 30 Aug 2011 01:09

Thanks, that works perfectly!
:D :D :D

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: command line file spec \\name\file no longer working

Postby Jean-Baptiste Kempf » 30 Aug 2011 11:25

You're welcome.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests