NppExecSwitch Powershell scripts to execute a command based on file extension inside Notepad++. Run the main script in NppExec with: npp_save powershell -file X:\Path\To\nppexec_switch.ps1 "$(FULL_CURRENT_PATH)" Edit and create run_XXX.ps1 files as needed.