Make a permanent command line alias for Notepad++ in Windows.
Are you a huge fan of Notepad++ like I am?
Well, if adding Notepad++ to the path is not enough for you:
And registering the Notepad++ shell extensions:
Then, you may want to create a command line alias, so instead of typing:
You only type:
And still enjoy the benefits of not renaming the notepad.exe binary.
As ITpraktyk suggested me, create a link using mklink from and Administrator command prompt:
Fast and simple.
Create a batch script that registers the alias and save it as notepadAlias.cmd
From an administrator command prompt run the following command:
Make sure to replace C:\path\to with the path where you saved the batch script.
This registry value will execute the batch script each time a command line is started.
Open a new command line, type np and see Notepad++ come to the foreground.