How can I invoke Notepad++ from the command prompt?

Hello,

I have only very recently started learning Ruby.
I have always used notepad editor by invoking the same from the command
prompt.

PATH of where programs are saved> notepad xyz.rb

always invokes notepad for me. I would like to do the same with a
notepad++ editor.

Could somebody help me here ?

Regards,

Aparna

The simplest way to achieve this would be to add your Notepad++
directory to your Path

Joel P. wrote in post #1128775:

The simplest way to achieve this would be to add your Notepad++
directory to your Path

Thank you very much Joel ! That did the trick.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs