Why this batch file not working? - Stack Overflow
Posted: Saturday, August 27, 2016 by Tyler Durden in
Why this batch file not working? - Stack Overflow
-5 | I'm trying to run a coursera-dl python script, using a batch file to avoid having to type the entire command line. All I need to do is type the class name. e.g. science-of-meditation But the script is not working properly. Can someone please tell me what is wrong? Emails and passwords have been omitted. Filename : download_coursera.bat Location of batch file: C:\Python\Python352-32\Scripts
So at the cmd, all I need to do is type this: science-of-meditation If I run that command in the batch file on it's own in the CMD then it works (ie it downloads the files), but it doesn't download the files when i run in that batch file. If you put this in the CMD, it would download the files from coursera. python coursera-dl-script.py -u [email] -p [password] science-of-meditation ============ Here is the output when i run batch file with @echo off removed
C:\Python\Python352-32\Scripts>python coursera-dl-script.py -u [removed] -p [removed]Input"
| |||
put on hold as off-topic by Ken White, SomethingDark, jeb, Mofi, Stephan 19 mins agoThis question appears to be off-topic for this site. While what’s on- and off-topic is not always intuitive, you can learn more about it by reading the help center. The users who voted to close gave this specific reason:
| ||||

@Echo Off
line, does the script run the commands you expect it to? – Blckknght 6 hours agocmd /?
and read the output help. On last paragraph on last help page it is explained which strings must be enclosed in double quotes. Also there are already lots of questions and answers which are about a single percent sign in a parameter string which can be definitely found easier as this question with a title and a question text not being related to the real problem. Think about how somebody would need to search to find this question. – Mofi 22 mins ago