How do i get the #runbatch to work like here? I have Version 6.40.4.
I get error when i use it
Failed to run custom command '#runbatch'. File not found
Below are the values i use:
Command: #runbatch
Arguments: tried both C:\Program Files\AmiBroker\Formulas\Custom\Batch1.abb and C:\Program Files\AmiBroker\Formulas\Custom\Batch1.abb
Please follow this advice: How to ask a good question
You need to send SCREENSHOTS of error messages and settings dialog showing you have in AB. Chances are that you have typos that you can't see.
Below are things i tried C:\Program Files\AmiBroker\Formulas\Custom\Batch1.abb C:\\Program Files\\AmiBroker\\Formulas\\Custom\\Batch1.abb C:\"Program Files"\AmiBroker\Formulas\Custom\Batch1.abb "C:\Program Files\AmiBroker\Formulas\Custom\Batch1.abb"
@erukumk, I haven't upgraded to the latest version (6.40.4), so my previous suggestion was based only on similar issues / articles in tool setup.
But I notice that the @Tomasz post you linked is dated March 12th and that the latest downloadable version of Amibroker is stamped: Version number: 6.40.4.6404 - Release date: February 2, 2022
(where he mentions a "new" version).
So, now, I suspect the command is not yet implemented in the latest released version.
@Tomasz has probably already added this feature to the version he is working on, and for that reason he may have replied thinking that, probably, it was a spelling mistake.
But, please, expect to find confirmation directly from him (or - if I'm wrong - from any other user who has found a way to run this #runbatch command from the tools).
@beppe is right. This feature is already implemented, but the version I am using is not the one what you have. You need to wait for the release (6.41.0)