vote up 1 vote down star

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?

flag

67% accept rate

1 Answer

vote up 6 vote down check

did your PATHEXT environment variable get overwritten?

link|flag
certainly looks like the "groovy" programming language is the only extension in there. – nathan Nov 2 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 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. – James Deville Nov 2 at 4:42

Your Answer

Get an OpenID
or
never shown

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