mirror of
https://github.com/coursera-dl/coursera-dl.git
synced 2026-01-23 02:35:37 +00:00
12 lines
709 B
Batchfile
12 lines
709 B
Batchfile
@echo off
|
|
rem Start-up script for Windows systems, ensuring out-of-the-box command execution as for *nix examples.
|
|
rem Make sure the containing folder is referenced in %PATH%
|
|
|
|
rem Usage: see "Running the script" section of the README for sample commands.
|
|
|
|
rem Run "coursera-dl" in the current folder as working directory (where "%~dp0" is the
|
|
rem location of this .bat file) via Python, passing all user-specified arguments ("%*")
|
|
|
|
rem Fixed the issue of spaces in the PATH name adding quotes before the batch Windows commands for drive and path. It should work fine now.
|
|
rem This issue was tested with pretty nasty path names (i.e. "t h i s i s t e r r i b l e") and it worked.
|
|
python "%~dp0\coursera-dl" %*
|