5 Replies Latest reply on Apr 12, 2014 1:08 AM by Don Kim

    Problem in executing windows commands in file deploy

    Madhu Pruthi



      I am trying to copy and execute a .bat file on target. A log file is generated after execution of the .bat file. I need to copy this generated log file on another windows server.


      For this, I have created a file deploy job with following parameters:

      Source: Location of .bat file.

      Post Command:

      cmd /c "D:\dba\dailycheck\dailycheck_automate.bat"

      sleep 30

      cp *.log //blqaw01v/c


      With this job, log file is getting generated after successful execution of .bat file but it is not getting copied. The error is: "sleep and cp are not recognized as external or internal command."


      Kindly assist asap.