Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2002
    Posts
    83

    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. #2
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939

    Star 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?

  3. #3
    Join Date
    Jan 2002
    Posts
    83

    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).


  4. #4
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939

    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").

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts