Announcement

Collapse
No announcement yet.

Execute .bat file in Custom Command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Execute .bat file in Custom Command

    I have defined a Custom Command that will execute a .bat file on my C: drive. My problem is the Hyena "%E%" variable is not being exposed to the DOS window process that runs. So, question is, how do I manufacture a Custom Command that executes a .bat file and passes (at least) the machine name?

  • #2
    Re: Execute .bat file in Custom Command

    Depending on how you are executing this, I assume you should be able to have something like this in the Custom Tool:

    your.bat %E%

    Then in your.bat access the variable as %1 since it is the first parameter.

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎