If I call the Excel executable (excel.exe) from a command prompt, it doesn’t work (Image 1). If I call it from the run command, however, it works just fine (Image 2). Why does the Run command know what to do with excel.exe whereas, the command prompt doesn’t? In an effort to answer my own question, I started poking around my computer’s Environment Variables. (I’m running W7 Pro.)
I took a look at the Path Variable, there’s no hint of C:\Program Files\Microsoft Office (or %programfiles%\Microsoft Office).
Is there another Environment Variable that the Run command has the privilege of using that the command prompt does not? Or, does the difference in behavior reside somewhere else?