Notepad++ $(FULL_CURRENT_PATH): The full path of the current file. $(CURRENT_DIRECTORY): The directory of the current file. $(FILE_NAME): The name of the file with the extension. $(NAME_PART): The name of the file without the extension. $(EXT_PART): Extension of the current file. Here are the user's command implemented for the NAPA environment : Usage: command directorypathname filename filename.nap Napa2Run $(CURRENT_DIRECTORY) $(NAME_PART) $(FILE_NAME) Napa2Mac $(CURRENT_DIRECTORY) $(NAME_PART) $(FILE_NAME) Napa2C $(CURRENT_DIRECTORY) $(NAME_PART) $(FILE_NAME) Napa2Exe $(CURRENT_DIRECTORY) $(NAME_PART) $(FILE_NAME) Napa2Exp $(CURRENT_DIRECTORY) $(NAME_PART) $(FILE_NAME) Napa2Lst $(CURRENT_DIRECTORY) $(NAME_PART) $(FILE_NAME)