Skip to content

Command alias Windows

OrigamiK edited this page Jul 6, 2021 · 4 revisions

Welcome to the kickassanime-downloader wiki!

Setting the alias for the command in windows:

Since, I wouldn't want to permanently change the registry for the aliases without telling the user, I encourage the user to set up their aliases themselves using the following steps:

  1. Create a new batch file, call it kaa.bat. Copy/paste the text below. TIP: I recommend creating a C:\Bin folder for all your command line tools.
  2. press WIN+R and then type SystemPropertiesAdvanced and click on environment variables
  3. Inside user variables click on Path and then click on Edit...
  4. Add a new column with the parent folder of the kaa.bat you just created. C:\Bin for me. Click ok and apply
  5. Done.

Contents of kaa.bat file:

@echo off
SET var=%cd%
cd "C:\path\to\kickassanime-downloader"
python cli.py %*
cd %var%

Try to run kaa in cmd to test if it worked.

Clone this wiki locally