8 Replies Latest reply on Sep 22, 2011 3:59 AM by Bill Robinson

    External command in Server Console 8.0.6

      I have a windows version of batch script that takes an input file (property file) as an argument. This needs to be executed against a linux host with

      a port number. Both the hostname and port number are part of the input file. Basically, target is a linux host while the batch script resides on a windows

      The command inside "external command of BL" is as follows -

      "/cygdrive/C/"Program\ Files"/"BMC\ Software"/BladeLogic/8.0/NSH/bin/nexec" -i -e cmd /c "echo .|powershellC:/commandLineBVT/RunTests.bat"

      The error message is -
      09/13/11 16:52:18.548 WARN     bldeploy - [5][] [stderr: 5]     ./bldeploycmd.bat: line 2: /cygdrive/C/Program Files/BMC Software/BladeLogic/8.0/NSH/bin/nexec: No such file or directory

      s3d% which nexec
      /cygdrive/C/Program Files/BMC Software/BladeLogic/8.0/NSH/bin/nexec


      1) How do I get windows batch script executed against linux host ?

      2) is the approach followed here, right ?

      3) is it that "No such file or directory" error that is preventing the execution of the batch script ? I verifed the existence of nexec script.