Thanks for the reply!
I will definitely add that to my script.
EDIT: Here is what I ended up doing for this:
Before updating:
if "{version}"=="" echo ERROR /// {category:replace:&:^&} /// {appname:replace:&:^&} >> log.txt
if "{version}"=="\{version\}" echo ERROR /// {category:replace:&:^&} /// {appname:replace:&:^&} {version:replace:&:^&} >> log.txt
if "{version}"=="" exit 1
After updating:
echo {category:replace:&:^&} /// {appname:replace:&:^&} {version:replace:&:^&} >> log.txt
After updating all:
SwithMail.exe /s /from "YOUREMAIL@DOMAIN.COM" /name "SENDER NAME" /a "C:\Program Files (x86)\Ketarin\log.txt" /server "YOUR SMTP SERVER" /p "25" /to "RECEIVER@DOMAIN.COM" /subject "Toolbox update" /body "All application has been updated, error is in the log file attachment."
ping 1.1.1.1 -n 1 -w 10000 >nul
break > "C:\Program Files (x86)\Ketarin\log.txt"
Thought it will be nice to share the whole script if anyone need a same functionality, the log file is written at your Ketarin install folder. For the "after updating all" I use a ping to delay the clear of the log file, so the file have time to send by email before it clear out and if in any case you don't have any error, the email will send anyway because the log file is there! (Instead of deleting it each time)