Help with Variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dk237
    Forum Member
    • Sep 2002
    • 4

    Help with Variable

    I need to extract a zip to a game dir
    the registry install path is *\ra2.exe
    how can I get rid of the ra2.exe
    and just keep the path

    basically a way to have it auto edit the variable
    and remove the \ra2.exe
    ~or~
    a way to search the HDD for a file
    and only put the path into a variable

    however the regkey would always have the correct path
  • Lorne
    Indigo Rose Staff Member
    • Feb 2001
    • 2729

    #2
    Re: Help with Variable

    Have a look at the "String - Parse Path" action. It can do this sort of stuff in its sleep. [img]/ubbthreads/images/icons/smile.gif[/img]
    --[[ Indigo Rose Software Developer ]]

    Comment

    • dk237
      Forum Member
      • Sep 2002
      • 4

      #3
      Re: Help with Variable

      wow that was fast
      that was the one i didnt try [img]/ubbthreads/images/icons/wink.gif[/img]
      should of asked a long time ago
      thanx!

      Comment

      • Lorne
        Indigo Rose Staff Member
        • Feb 2001
        • 2729

        #4
        Re: Help with Variable

        Heh, no problem. [img]/ubbthreads/images/icons/smile.gif[/img]

        BTW, there's a basic example of that action in the latest version of the Help file.
        --[[ Indigo Rose Software Developer ]]

        Comment

        Working...
        X