Just showing the NP++ script I've been working with for the past year or so:
Code:
cmd /c del "$(CURRENT_DIRECTORY)\compiled\$(NAME_PART).amxx"
compile.exe $(FILE_NAME)
cmd /c copy "$(CURRENT_DIRECTORY)\compiled\$(NAME_PART).amxx" "C:\Program Files\Steam\steamapps\STEAMNAME\counter-strike\cstrike\addons\amxmodx\plugins\$(NAME_PART).amxx" /y
NPP_CONSOLE 0