I have a batch file containing a python script using the Output template> %(NAME)s
when I ran it, cmd thinks its a var and igoners the %
so
youtube-dl.py -b -o %(uploader)s-%(title)s-%(id)s.%(ext)s
turns into
youtube-dl.py -b -o (uploader)s-(title)s-(id)s.(ext)s
how do i convince cmd to not process it and pass it as is to python?
Replace the % with %%:
(Note that, unlike on Unix, double quotes don’t do a lot on Windows command lines.)