hmbatch is not launching

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

I created a batch file with the following command:
'C:\..\..\..\hmbatch.exe' -tcl C:\..\..\commands.tcl'  

When I launch the bat file, it gives an error saying that

'hmbatch should be launched with -c<command file> or -tcl file'

I have already have -tcl option in the batch file.

Can somebody tell what is going wrong?

 

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited September 2015

    I created a batch file with the following command:

    'C:\..\..\..\hmbatch.exe' -tcl C:\..\..\commands.tcl'  

    When I launch the bat file, it gives an error saying that

    'hmbatch should be launched with -c<command file> or -tcl file'

    I have already have -tcl option in the batch file.

    Can somebody tell what is going wrong?

     

    Hi

    you may need to quote your tcl file path if it contains space, for example

    '...hmbatch.exe' -tcl 'C:\new folder\command.tcl'

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2015

    Hi

    you may need to quote your tcl file path if it contains space, for example

    '...hmbatch.exe' -tcl 'C:\new folder\command.tcl'

    Yes I tried it that too as well. First of all, the path does not contain any space.