I have a custom (portable) installation of Atom because I prefer so. Problem is, it seems my manual set up of system variable on Windows recognizes apm but not atom. Let’s see it in more detail.
Atom is installed (or better said, extracted) in: C:\Program Files (Portable)\Atom. “Program Files (Portable)” is a folder I created amongst “Program Files” and "Program Files (x86), specifically to gather portable software. But no problem here.
In system variables, ATOM_HOME is set to G:\DATA\Atom.atom. No problem here neither. Atom sees the directory and uses it normally.
In the “Path” variable, I’ve set C:\Program Files (Portable)\Atom\resources\cli, because both apm and atom command line resides there.
Now, if I open a command prompt (it points to C:\Windows\System32 by default) and type apm --help, I can see the command is executed and I have a list of possible parameters for apm. But, if I type atom --help, I get:
\Atom\resources\cli\…\atom.exe" -ArgumentList "–pid not expected.
Whatever I type, I get the same result. What could it be? Any help would be much appreciated. Not that I use the command line so often, but I would like to narrow down this issue.
Thank you in advance,