Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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