I have created config.txt in ~\AppData\Roaming\youtube-dl\. When using -o ~%(title)s.%(ext)s command the downloaded files are saved to C:\Users. I may want to save the files to the Windows' downloads folder instead. When I use -o ~\Downloads\%(title)s.%(ext)s in config.txt "Downloads" is added to the filename and the files are still saved in Users folder.
1 Answer
- You can't use the home directory shortcut
~on Windows. You have to specify the full path, such asC:/Users/user/Downloads/. - Use
/instead of\. - According to documentation using
"instead of'may be necessary on Windows.
example command:
-o "C:/Users/user/Downloads/youtube-dl/%(title)s.%(ext)s"