I think the title says it all. I downloaded Atom, which comes over as a zip file containing an executable, etc. When I right-click on a text file, source code file, etc, in Windows Explorer and select Open With > Choose default program... I don't see Atom in the list of "Recommended Programs" or "Other Programs" (when I use the arrow to expand that list). If I select "Browse" and use the file explorer to navigate to the Atom executable file and select that, when I return to the "Open with" dialog, I still do not see Atom as an option. I'm pretty clueless when it comes to Windows, so if anyone has any suggestions I'd really appreciate them - thanks!
mhenry1384's answer worked for me.
Perhaps some more information will help you.
You usually install Atom by downloading
SetupAtom.exe from Atom.io and running it.
I chose to install Atom with Chocolatey. So after installing Chocolatey, I opened a command line with administrator priviledge and typed
choco install Atom
Location of atom.cmd
That installed Atom to
<username> is my Windows user name.
There is a subfolder
bin with a file named
atom.cmd. Here is a screenshot.
Always open *.txt files with Atom
Then I right-clicked on a *.txt file,
Choose default program...,
- clicked on the button
- copied the path
<username>) into the text field
- clicked the button
atom.cmdin the dialog box and
- clicked the button
- That's it.
Now, double-clicking any *.txt file opens with Atom as the default editor.
- Windows 7
- Chocolatey 0.9.9.8
- Atom 1.0.0
i just installed Atom a few hours ago, this worked for me when I browsed through the computer to select a program to open associated files (html,php...)
C:\Users\"USER YOU INSTALLED ATOM ON"\AppData\Local\atom\app-1.2.0\
atom.exe is in the app-1.2.0 folder.
PS: turn on show hidden files to access the AppData folder
Using Windows 10 here. I right clicked the Atom icon on the desktop and picked properties. After that i copied the "Start in" location path. I looked over there with the windows explorer and found atom.exe so i typed this in the git bash:
git config --global core.editor "C:/Users/YOURNAMEUSER/AppData/Local/atom/app-1.7.4/atom.exe"
Note: I changed all
/ . I do not know if
\ works in git bash, i just created a .bashrc at my home directory and used / there and it worked, so i assumed
/ will be the way to go.