Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output Format not Parsed using Windows Batch File #3195

Closed
a6286224 opened this issue Jul 5, 2014 · 1 comment
Closed

Output Format not Parsed using Windows Batch File #3195

a6286224 opened this issue Jul 5, 2014 · 1 comment

Comments

@a6286224
Copy link

@a6286224 a6286224 commented Jul 5, 2014

When running youtube-dl from a Windows batch file, the output format is not correctly parsed. Copying and pasting it from the file works fine.

-o "%(upload_date)s - %(uploader)s - %(title)s.%(ext)s"

results in files named

"(uploader)s - (ext)s"

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 5, 2014

You have to escape % in batch file.
youtube-dl -o "%%(upload_date)s - %%(uploader)s - %%(title)s.%%(ext)s" %1 works perfectly for me.

@jaimeMF jaimeMF closed this Jul 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.