up vote 1 down vote favorite
share [g+] share [fb]

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?

link|improve this question

57% accept rate
feedback

1 Answer

up vote 6 down vote accepted

did your PATHEXT environment variable get overwritten?

link|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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.