1 Reply Latest reply on Nov 30, 2011 2:27 PM by philmodjunk

    using a stored Windows Variable in FM10

    RenéSnoek

      Title

      using a stored Windows Variable in FM10

      Post

       I am working with FM 10.

      An other programm is making a Variable in a DOS-box (CMD).

      Lines which are being used are: Set var=XX. This sets te Variable in the dos-Windows called "var" to the value of XX.

      How can I use this variable in FM 10 to use in my script?

        • 1. Re: using a stored Windows Variable in FM10
          philmodjunk

          You've posted your question to the FM Go forum which is intended to assist users who have FM GO installed on their iPads, iPhones and iPod touch devices. This appears to be a question about using a dos command with FileMaker Pro and that would have nothing to do with FileMaker GO correct?

          A post of such a question to the FM Pro Forum (see tab above) would likely get read and responded by more people who can help you if you post there.

          Why do you want to access this variable?

          I think this is what they call an "enviromentment variable" If so and if this is a value set from outside FileMaker, I am unsure that it can be accessed from within FileMaker, but maybe you could set up a batch file that captures this value and exports it to a text file. Then FileMaker can use Send Event to run the batch file followed by using import records to import the text of the text file into a table in order to access the value. A major Kludge, but might work for you.