Piper Plugin for TheBat! Email Client


Piper is a simple plug-in for The Bat! e-mail client. It provides a macro which can be used to execute an external program, capture the output, and insert it back into The Bat!


Put the plug-in file 'piper.tbp' into some suitable location, and load it into The Bat! from Options->Preferences->Plug-ins.


Piper is very easy to use, just provide the program name (with full path if not in path or in same folder as the plug-in), and any command line arguments required.


The program name and each argument are quoted, and any double-quotes in the arguments are escaped.

Here are a couple of examples:
    %Piper("mytool.exe","an argument","another argument")


This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.


Based on the plug-in example by Mark Wieder, Robert Rainwater, Stefan Tanurkov, Alexey Vinogradov.

Thanks to mouser for testing.

  • Version 1.04
  • Downloads 72
  • File Size 28.12 KB
  • File Count 1
  • Create Date December 13, 2017
  • Last update 2017-12-13 00:31:01
  • Last Updated January 8, 2018

Leave a Reply

Your email address will not be published.