Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can no longer launch programs just by typing the program name in a command window. For instance, typing "notepad" and then enter gives me "bad command or filename". If I recall correctly Windows XP would automatically pick up the executable. If I type "notepad.exe" and hit enter, then notepad starts as expected. Did something change on my system, or did I just remember wrong?

share|improve this question
up vote 6 down vote accepted

did your PATHEXT environment variable get overwritten?

share|improve this answer
    
certainly looks like the "groovy" programming language is the only extension in there. – nathan Nov 2 '09 at 4:37
    
Yup. that was it. For some reason the groovy installation overwrote my PATHEXT. I corrected the problem and everything works as it should. Thanks! – nathan Nov 2 '09 at 4:39
    
Might want to contact Groovy and check if they have a bug. They shouldn't be changing PATHEXT, they should be using assoc.exe and filetypes. – Jim Deville Nov 2 '09 at 4:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .