Atom not opening file on double click


When i’m in the file explorer on windows I have the pre-set file opener atom, but when I double click on the html file to open it, it opens a command prompt, and then closes. Just wondering if i’m doing it wrong, or the only way to open files are through the actual text editor. Thanks!


What happens when you right-click on the file and select Open with Atom?


What happens when you open a file from the command prompt? Open cmd, cd to a folder with a file, and use atom stuff.txt to open the file.

Not yet. I don’t know what’s wrong yet.


It’s ok. I fixe it.


How did you fix it?


Instead of Open with Atom I chosen by mistake “atom.exe”. when i change that everything worked fine.