Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I launch notepad++ from the command line anymore?

Tags:

editor

django

I'm teaching myself some Django tonight using the local dev package at instantdjango.com

I made it through half the tutorial, building a basic map with points on it, then closed out of the console for a bit. I just fired it back up and now when I try to use notepad++ to edit files, console tells me it doesn't recognize the command. What happened?

When I as working through the first half, I was able to type: "notepad++ filename.ext" and I'd get a text editor that would pop up.

Now when I type that, it doesn't recognize the command.

How do I get back the ability to use the text editor and how did I lose it?

like image 610
bflora2 Avatar asked Nov 19 '09 04:11

bflora2


2 Answers

In a windows terminal, you can launch notepad++ with the following:

start notepad++ <filename>

Note that the filename is optional.

like image 195
user2033956 Avatar answered Nov 15 '22 11:11

user2033956


Most likely the directory in which the Notepad++ executable resides is not in your system's PATH. For information about fixing this please see How to set the path in Windows 2000 / Windows XP.

like image 36
Andrew Hare Avatar answered Nov 15 '22 12:11

Andrew Hare