Can I not hide anything from you perlmonk wizards? :-)

You are correct goibhniu, this is an XY problem, which is why I didn't bother to attach this side issue to the original thread id:639048. I'm actually working on a solution to the original problem, and got stuck on this side issue, trying to understand how to get the hex servicename from the not-hex servicename.

Given that this whole problem may become moot, I'm still interested in knowing if it is possible to find the hex servicename for something without "hardcoding" a probable path in for it. The vague mists of my memory nag at me that there is a way to do this I once explored, but I can't come up with what it is to save my life.

Yes, yes, yes, everyones observations on wmic and the registry are helping very much. I apologize if I can't respond to everyone's thoughts, but I am dole-ing out my meager XP points as fast as I'm allowed.

Thanks to everyone for holding my hand through this uncharted (and spooky) adventure!

-Craig


In reply to Re^2: WindowsRegistry{ServiceName} V.S. wmic{ServiceName} by cmv
in thread WindowsRegistry{ServiceName} V.S. wmic{ServiceName} UPDATE: Solved by cmv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.