AutoSys Workload Automation

  • 1.  espcmd.cmd - multiple commands arguments?

    Posted Jul 27, 2018 03:37 PM

    Hello,

     

    Does anyone have examples of running multiple commands from a single commandline using espcmd.exe? 

     

    command1 & command2,

    or conditional - command1 && command2

     

    Nothing crazy I'm wanting to delete files and display the directory before I do, this way I have the info written into the spool file to know what was removed.

     

    Something like this:

    dir & del files & dir



  • 2.  Re: espcmd.cmd - multiple commands arguments?

    Broadcom Employee
    Posted Jul 29, 2018 12:26 PM

    Hi,

    By "espcmd.exe", do you mean to get the usage of ESPmgr command?

     

     

    Thank you,

    Nitin Pande

    CA Technologies



  • 3.  Re: espcmd.cmd - multiple commands arguments?

    Posted Jul 29, 2018 01:40 PM

    The command line executes espcmd.exe, then pass multiple arguments. Or do I not need to execute espcmd.exe and just execute the commands I want on the command line?

     

     

     

    Sent from my Verizon, Samsung Galaxy smartphone



  • 4.  Re: espcmd.cmd - multiple commands arguments?

    Broadcom Employee
    Posted Jul 30, 2018 08:33 AM

    Hi,

    So, if this is ESPmgr utility, then you can only pass one argument or action.  

     

    Thank you,

    Nitin Pande

    CA Technologies