Can't default files to open with Atom


I’m using Chocolatey to keep Atom updated and I don’t know if it’s an issue with Atom, or Chocolatey but I’ve noticed that when I download Atom from here, the actual website for it. I’m able to select it and force it to open with certain files. Yet when I attempt to force it to always open with certain files when it’s installed with Chocolatey, I’ll go to the directory: C:\ProgramData\chocolatey\lib\Atom.0.146.0\tools\Atom and when I select the .exe and click Okay, it simply closes the window, and takes me back to this screen with the first program selected. In this case, it’s Notepad++. I’m curious, why can’t I select Atom to open with my files?


I had the same issue, but I don’t use chocolatey.

How to fix:

  1. Open regedit.exe, and go to HKEY_CLASSES_ROOT/Applications/atom.exe
  2. Right-click (Default), and click modify...
  3. Paste or type in your atom.exe path. Mine was C:\Users\Michael\AppData\Local\atom\app-0.181.0\atom.exe