Atom not opening file on double click


#1

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!


#2

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


#4

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.


#5

It’s ok. I fixe it.


#6

How did you fix it?


#7

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