A bug in preferences handling (in 2.83)

dinkypumpkin dinkypumpkin at gmail.com
Wed Jul 24 08:46:42 EDT 2013


On 24/07/2013 12:56, Jeremy Nicoll - ml get_iplayer wrote:
> While setting preferences I issued:
>
>     get_iplayer --prefs-add --output "H:\"
>
> which I assumed had worked - I didn't look carefully enough at the output
> from that...  On my following attempt to fetch a programme I got:
>
> mkdir H:\": Invalid argument; The filename, directory name, or volume label
> syntax is incorrect at C:\My Dropbox\CLIpgms\get_iplayer.pl line 4021.

You have to respect the rules of the Windows command processor and 
escape the backslash:

get_iplayer --prefs-add --output "H:\\"

Otherwise it thinks you are escaping the quote rather than using it to 
enclose the path.

> [I think, as well as the preference being saved incorrectly, there may be a
> logic problem as one would not need to issue "mkdir <drive>:\" at all, and
> here if I do issue that from an XP command prompt I get "Access denied". I
> don't know of that would cause a problem for get_iplayer.]

No





More information about the get_iplayer mailing list