Page 1 of 1 1
Topic Options
#7925 - 2001-04-03 04:14 PM Read Registry Subkey run .EXE
Anonymous
Unregistered


New to the world of Kix.

I would like to read a registry subkey(Version #) and if that version does not = a
Specfic Version i would like to run a .EXE program.

Thanks in advance.



Top
#7926 - 2001-04-03 04:26 PM Re: Read Registry Subkey run .EXE
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
something like this...

code:

if readvalue("<key>","<entry>") <> "<value>"

;the key doesn't equal the specified value
;run this program

shell '%comspec% /c program.exe'

endif


Bryce

------------------
kix.isorg.net

Top
#7927 - 2001-04-03 04:39 PM Re: Read Registry Subkey run .EXE
Anonymous
Unregistered


It worked!!!

Thanks Bryce

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.066 seconds in which 0.041 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org