verify a sting exists

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • spamsucker
    Forum Member
    • Jul 2003
    • 3

    verify a sting exists

    Can somebody show me how I could verify a sting exists with a specific value in the registry before executing my command?

    Thanks
    Chris
  • Corey
    Indigo Rose Staff Alumni
    • Aug 2002
    • 9745

    #2
    Re: verify a sting exists

    By "string" do you mean "key"?

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment

    • spamsucker
      Forum Member
      • Jul 2003
      • 3

      #3
      Re: verify a sting exists

      Yes a KEY, a "String Value" of a key

      Like...
      [HKEY_LOCAL_MACHINE\SOFTWARE\key]
      "Version"="003"

      I want to make sure Version is 003 and not 004

      Comment

      • Corey
        Indigo Rose Staff Alumni
        • Aug 2002
        • 9745

        #4
        Re: verify a sting exists

        You can see if the key exists using a REGISTRY > DOES KEY EXIST action and then you can get the value data using a REGISTRY > GET VALUE DATA action, as long as you know the key/sub key names.

        Corey Milner
        Creative Director, Indigo Rose Software

        Comment

        • spamsucker
          Forum Member
          • Jul 2003
          • 3

          #5
          Re: verify a sting exists

          Thanks

          Comment

          Working...
          X