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

External file with relative path

jmohre
2024-01-04
2024-01-15
  • jmohre - 2024-01-04

    I try to add a simple text file to my PLC application, so that is download everytime the application is downloaded to the target.
    What I did is to add an external file to the application and this works perfect as long as the external file location does not change.
    It looks like the external file path is stored absolute in project.
    But if different users work on the project they may have different locations where for their working directory.

    Is there an option to store the external file path relative e.g. to the project file?

    Or does s.o. know a different solution to add a text file to application in order to download automatically with the application?

    Thanks

     
  • jeffersonhui - 2024-01-15

    I have the same question as well, anyone have any ideas?

    Thanks

     

Log in to post a comment.