Windows batch command doesnt work
-
I have set my custom bat command to bot settings after the render event. But nothing happened. There are some lines about my command in the log file but seems like the command has not executed.
2021-06-21 @ 01:00:28 [EXEC SHELL SCRIPT] : Synchronous command executing on [ bot_post_rndr ] event =>
“C:\dev\scripts\log.bat” “C:\Users\Administrator\Desktop\atabek-proj\test-temp3\output\file_1624262219.mp4”There is my bat command
@echo off
echo %1> test.txt
echo %2>> test.txt
echo %3>> test.txt -
Can you verify that you have the file
D_shell.exe
installed atC:\ProgramData\Dataclay\
? In some cases we have found that this file is not installed due to security measures on Windows. We have fixed that for our next release, but the current release does not have this file digitally signed. If it’s not there, you may need to disable anti-virus software and install Templater as an Administrator. -
Wow, this bite me yesterday as well and cost me 2 hours of precious development time
Thanks for the answer though and a way to solve it. This should be a reason to release a new version as soon as possible because there is no indicator that something went wrong (even the log indicates that the batch file ran!).
By the way: It would be great to have a way to interrupt the templater job by a non-zero exit code from one of the event scripts
-
@coeing Sorry for the time sink — I know it can be painful. We have fixed this, but we are working towards polishing some features in Templater with our new API product, QUE which is an intense dev task. We are aiming to release Templater 3 before end of year. Thank you for your patience and for using our software!