1.) On the main TorGuard lite screen click the settings button.
2.) Click the "Scripts" tab and check the "Execute scripts" checkbox. Select the connection option (pre/connect/disconnect) and locate the script you wish to run. Click Save to apply your settings.
Here are some example batch scripts that can be used in Windows XP/7/8: