If you wanna run external tools, you may need to know the following built-in environment variables:

Variable name Contents in the above example setting
FULL_CURRENT_PATH E:\my Web\main\welcome.html
CURRENT_DIRECTORY E:\my Web\main|
FILE_NAME welcome.html
NAME_PART welcome
EXT_PART html
SYS. system environment variable, e.g. $(SYS.PATH)
CURRENT_WORD Discover
CURRENT_LINE 26
CURRENT_COLUMN 5
NPP_DIRECTORY possibly C:\Program Files\Notepad++

Refer to the Notepad++ Wiki:

  1. Issuing commands using built-in environment variables
  2. How to Run an external program from Notepad++
Comments
Write a Comment