Loading ...
Sorry, an error occurred while loading the content.

Reading path from ini file

Expand Messages
  • Marcus
    I ve been trying the following clip and just can t get it to work. Could anybody tell me what s wrong? It just reads testclip.ini and sets %path%. ... _OnOpen
    Message 1 of 1 , Jun 1, 2001
    • 0 Attachment
      I've been trying the following clip and just can't get it to work.
      Could anybody tell me what's wrong?

      It just reads testclip.ini and sets %path%.

      ------------------------------------------------------
      _OnOpen
      ^!ChDir ^$GetShort(^$GetLibraryPath$)$
      ^!SetIniFile testclip
      ^!Set %path%=^$GetShort("^$GetValue(ClipValues:Directory)$")$
      ^%path%
      ---------------------------------------------------------

      testclip.ini

      [ClipValues]
      "Directory"="C:\Program Files\ThisApp\"
      -------------------------------------------------------

      Is there a syntax error?

      Thanks,

      Marcus
    Your message has been successfully submitted and would be delivered to recipients shortly.