Skip to content

Instantly share code, notes, and snippets.

@jiewpeng
Last active February 27, 2025 14:31
Show Gist options
  • Save jiewpeng/8ba446acf329b1801bf91db767d179ea to your computer and use it in GitHub Desktop.
Save jiewpeng/8ba446acf329b1801bf91db767d179ea to your computer and use it in GitHub Desktop.
Add Anaconda Prompt to Windows right click context menu

This gist describes how to add Anaconda Prompt to the Windows right click context menu. This is because at some point, Anaconda no longer adds itself to the PATH after installation.

  1. Run regedit.exe
  2. Navigate to HKEY_CLASSES_ROOT > Directory > Background > shell
  3. Add a key named AnacondaPrompt and set its value to "Anaconda Prompt Here" (or anything you'd like it to appear as in the right click context menu)
  4. Add a key under this key, called command, and set its value to cmd.exe /K C:\Anaconda3\Scripts\activate.bat (may have to change the activate.bat file to whereever Anaconda is installed)
@jforbes94
Copy link

image

Any ideas, thanks in advance

@Wopnis
Copy link

Wopnis commented Feb 14, 2024

Thanks a lot!

@ialhabbal
Copy link

Thanks! Worked...

@DuckersMcQuack
Copy link

Neither of the ways people added the command worked for me. Most opens cmd, but nothing else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment