I have added notepad++.exe to my Path in Environment variables.
notepad++.exe
Now in command prompt, notepad++.exe filename.txt opens the filename
notepad++.exe filename.txt
filename
First, you could create a file named np.cmd and put it in the folder which in PATH search list. Then, edit the np.cmd file as below:
@echo off notepad++.exe