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



_______________________________________________
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to