Program settings / register file types assign file to PSPad.
It's the same as you will choose default application for this file type in
Windows. 
If you dobit with executable files - bat, cmd, exe, it will break ability to run
this file.

Again. If you want edit bat or cmd in pspad, right click on this file and choose
Edit in PSPad

-- 
<https://forum.pspad.com/read.php?2,72545,72552>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem