Forum Discussion

KSQian's avatar
KSQian
Contributor
7 years ago
Solved

Path of included file

So I have 2 projects and they share some common code.   Project1 is C:\Project1\one.pjs. It has a script file projOneLib.js Project2 is C:\Project2\two.pjs. It has 2 script files. One is projTw...
  • karkadil's avatar
    karkadil
    7 years ago

    Why can't you put your source code somewhere to the static path which doesn't include version number? It would simplify your work.

     

    Anyway, if that is not possible, you have at least two options:

    1. Take the version from any external source (like registry, file info, source control output, etc.). I am not aware about your specific situation, but usually there are different ways how you can get the same info from different places.
    2. Probably the simpler way: use FileFiles Method to search for the desired file.