Announcement

Collapse
No announcement yet.

registry key-%Appdir%

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • registry key-%Appdir%

    Hi,

    My applicated is intalled in say:

    c:\daniel\MyApp

    This is written to %Appdir% in sf. I can perfectly use this variable %Appdir% to write my path to the registry.

    Question: if just want to write only the root path say here; c:\daniel to the registry. I had to parse the %Appdir% varible and do string manipulation to accomplish my objective.

    IS THERE A EASIER WAY TO DO IT?

    THANKS
    DANIEL

  • #2
    Re: registry key-%Appdir%

    Originally posted by dan37_123:
    IS THERE A EASIER WAY TO DO IT?
    Parse Path command with Source Path = "%AppDir%." (AppDir + point) and Information to store = "Drive and folder"
    One single command; could it possibly be easier?

    Comment


    • #3
      Re: registry key-%Appdir%

      Well not exactly that simple,

      the %Appdir% with "dirve(folder1\folder2)

      the whole path of the target directly is written.

      I want the hole path, excluding the install directory (the target folder).

      Comment


      • #4
        Re: registry key-%Appdir%

        Sorry, I have obviously not understood the question. I thought the task was to transform the content of %AppDir" ("C:\Daniel\My App") one level up (to "C:\Daniel").

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎