dollar sign in filename ignored by Windows

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.
joefiesta
Blank Cone
Blank Cone
Posts: 25
Joined: 29 Oct 2012 15:55

dollar sign in filename ignored by Windows

Postby joefiesta » 29 Oct 2012 16:09

I am converting .FLV files to .MP4.

I have the following folder: C:\documents and settings\joey\my documents\$

I have no problems using this folder and it's files, even though it's name contains a "$" (dollar sign).

However, VLC does not handle an outfille filename with a $.

When I do the convert and request the output file to be "C:\documents and settings\joey\my documents\$\test.mp4", the output file does not appear in the "$" folder. Instead, it is placed at "C:\documents and settings\joey\my documents\test.mp4".

I have not tested whether this is a problem with a Folder named "$" or is just a matter of having a "$" in the filename somewhere.

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: dollar sign in filename ignored by Windows

Postby Jean-Baptiste Kempf » 29 Oct 2012 16:14

Did you try to escape it with \ ?
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.

joefiesta
Blank Cone
Blank Cone
Posts: 25
Joined: 29 Oct 2012 15:55

Re: dollar sign in filename ignored by Windows

Postby joefiesta » 29 Oct 2012 16:20

no.

joefiesta
Blank Cone
Blank Cone
Posts: 25
Joined: 29 Oct 2012 15:55

Re: dollar sign in filename ignored by Windows

Postby joefiesta » 29 Oct 2012 16:24

no

I just tried again, this time specifying output as: "c:\docuemnts and settings\joey\my documents\\$\test2.mp4.

Same result. Placed file directly in "my documents" folder.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: dollar sign in filename ignored by Windows

Postby Arite » 29 Oct 2012 16:51

A folder named "$" seems to work fine on Win7 (x64). Are you using WinXP?

Does it work if you open it as a Network Stream with the URI:

Code: Select all

file:///C:/Documents\ and\ Settings/Joey/My\ Documents/$/test2.mp4
Or maybe (URL encoded):

Code: Select all

file:///C:/Documents%20and%20Settings/Joey/My%20Documents/%24/test2.mp4
FYI %20 = space, %24 = $.

Arite.
Don't use PMs for support questions.

joefiesta
Blank Cone
Blank Cone
Posts: 25
Joined: 29 Oct 2012 15:55

Re: dollar sign in filename ignored by Windows

Postby joefiesta » 29 Oct 2012 16:55

I tried yet again, and got it this time. Apparently the "$" must best escaped. So, I used "...\my documents\$$\test4.mp4" and the file went into the "$" folder.

As the dollar sign is a valid DOS filename character, this surprises me.

It would be nice if this behavior were documented. (but, don't get me wrong. For free, this is a great product and excellently documented, albeit very technically oriented, but that is to be understood.) This also makes me wonder: what other characters require special care?


Sorry, I should have mentioned: Yes, I am using WINDOWS XP/professional, sp3.

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: dollar sign in filename ignored by Windows

Postby Jean-Baptiste Kempf » 29 Oct 2012 22:08

It would be nice if this behavior were documented. (but, don't get me wrong. For free, this is a great product and excellently documented, albeit very technically oriented, but that is to be understood.) This also makes me wonder: what other characters require special care?
The issue is that you are probably the first to have noticed it :)
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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15330
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: dollar sign in filename ignored by Windows

Postby Rémi Denis-Courmont » 30 Oct 2012 10:04

I think this issue is someone sometime ago did not consider that dollar could be used in file paths. Thus the dollar sign was used for substitution of meta data. And all versions of VLC with that meta data substitution feature fail to support file paths with dollar signs.

I have already said that this should never have been done, but all other developers who expressed an opinion, disagreed with me.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

joefiesta
Blank Cone
Blank Cone
Posts: 25
Joined: 29 Oct 2012 15:55

Re: dollar sign in filename ignored by Windows

Postby joefiesta » 30 Oct 2012 16:31

It looks like this behavior is documented, but I would never have found it on my own.

The subject: http://wiki.videolan.org/Documentation: ... mat_String shows how dollar signs are used with meta data. Here is the item:

$<any other char> : <any other char> (for example: $$ transforms to $)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 65 guests