This works for me: Compiler: C:\path\to\mysql.exe
Parameters: -u someuser -p mypassword mydatabase -t -e "%SelText%" Capture Program Output Window Hide Output Window SelText will only run the selected text. Alternatively you could use "%AllText%" -- <http://forum.pspad.com/read.php?2,17678,55703> PSPad freeware editor http://www.pspad.com
