Thunderbird compose email in a batch script - continue to next command

Mechaflash picture Mechaflash · Jun 6, 2011 · Viewed 21.3k times · Source

Using the following line in a batch script to call thunderbird and compose an email:

thunderbird.exe -compose "to='[email protected]',subject='Some Subject',preselectid='id1',body='Message Body',attachment='File.txt'"

The command performs perfectly fine, however the batch script will not continue until the application terminates. Is there a way to bypass this so that the script will continue on with the next command?

Answer

CharlesB picture CharlesB · Jun 6, 2011

use start /b before the command, and the batch script will continue to execute after launching the process.