How to run a bat file from VI Perform?

I am trying to run a batch file via the Perform logic of a VI job.  In a nutshell, I want the VI job to create a file in a specific directory so that I know the VI job has completed.

I have added an On Completion Perform Type to the job and set the command to this path:

C:\MASExchangeEDI_v4\CreateFile.bat

This path is on the workstation that is running MAS ( not on the server ). 

I can run the batch file without any issue, but when placed in the VI job it just throws a generic error.

What is the best method to handle this?

Thanks!

Parents
  • You should put the bat file in the VI folder on the server and then use a path such as ..\vi\createfile.bat  Look at the other perform logic that is standard and see how they do the patch and do the same.

Reply
  • You should put the bat file in the VI folder on the server and then use a path such as ..\vi\createfile.bat  Look at the other perform logic that is standard and see how they do the patch and do the same.

Children