Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

running a windows batch file under Control RTE

hclai
2020-11-17
2020-11-17
  • hclai

    hclai - 2020-11-17

    Hi,
    I am trying to run a batch file located in C:\ drive using the following function
    SysProcessCreate2(BatchFileName,i_FilePath,SysProcess_Createflag_interactive,pResult);
    The Batchfile is not able to run. Is there anything that I had missed out

     
  • MadsKaizer

    MadsKaizer - 2020-11-17

    Perhaps execute access rights to the file system? Located under controllers "user and groups" and "access rights"

     
  • eschwellinger

    eschwellinger - 2020-11-17

    are you try to call a windows application in your batch file?

     

    Last edit: eschwellinger 2020-11-17

Log in to post a comment.