- Download this .bat file and edit it according to your paths
- Add the .bat file location to your environment variables Paths
- Run from anywhere by running
td <URL>
on Terminal
The .bat file should look like this:
@echo off
set url=%1
cd <path to the cloned directory>
Eg: cd D:\Work\Projects\TwitterDownloader
<Disk letter on the cloned directory>:
Eg: D:
python twitter_downloader.py %url%
Now you can start the Terminal (CMD) from anywhere and run the tool by just typing td <URL>
(Adding the .bat file path to the environment variables is essential for this to work properly)