Navigation

    Dataclay — Automating Digital Production
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users

    Windows batch command doesnt work

    Templater Event Scripts
    4
    4
    564
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SprayDev
      SprayDev last edited by

      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

      1 Reply Last reply Reply Quote 1
      • ariestav
        ariestav last edited by

        Can you verify that you have the file D_shell.exe installed at C:\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.

        1 Reply Last reply Reply Quote 0
        • coeing
          coeing last edited by

          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 :)

          1 Reply Last reply Reply Quote 0
          • ariestav
            ariestav last edited by

            @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!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post