Click here to Skip to main content
15,847,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I try to open notepad using the command prompt, the following line shows up:

'notepad' is not recognized as an internal or external command,
operable program or batch file.

Please help me resolve it.

What I have tried:

I tried to reset the path for notepad
Updated 30-Aug-22 10:17am
Richard MacCutchan 31-Aug-22 4:26am    
It just means that your PATH environment variable has been corrupted so it does not point to the system directories. Type "echo %PATH%" at the command prompt to see what is missing.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900