18 January 2021

[ batch   utilities   ]

Quick batch file to add the “Anaconda Prompt” as an options on right click in windows. Opening the prompt directly into the directory you need. This should work for windows 10.

Use and download

Simply open the .bat file and change the set conda_location= variable to the root folder of your anaconda installation. As you may understand from the script, in my case its a portable installation of Miniconda. For most it will be under %%USERPROFILE%%\Anaconda3, but just set it to whatever you need and run as admin. Note this is only checked that it works with windows 10, and is taken from a stackoverflow snippet with some minor edits to run properly.

Add_Conda_to_Shell

Undo_Add_Conda_to_Shell

Added to the context menu Added to the context menu

Credit

Copyright © 2023 Pandalism