Page 1 of 1 1
Topic Options
#171073 - 2006-12-05 10:39 PM How to check for Dword existance
ggirten Offline
Fresh Scripter

Registered: 2002-02-27
Posts: 7
I want to run a cmd that will put a hold on IE7 auto install. The command works fine, but I want to check for the existance of the dword so it is not ran everytime the user logs on. The registry entry is

HKLM\SOFTWARE\Microsoft\Internet Explorer\Setup\7.0\

DWORD =DoNotAllowIE70

Thanks for any assistance

Top
#171074 - 2006-12-05 10:46 PM Re: How to check for Dword existance [Re: ggirten]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
See ReadValue() in the manual.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#171075 - 2006-12-05 10:57 PM Re: How to check for Dword existance [Re: Les]
ggirten Offline
Fresh Scripter

Registered: 2002-02-27
Posts: 7
Thanks, that pointed me in the right direction. I have it working now.
Top
#171087 - 2006-12-06 05:11 AM Re: How to check for Dword existance [Re: ggirten]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Comparing it is "probably" micro seconds slower than just writing it again but good to know how to check it.
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
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.058 seconds in which 0.023 seconds were spent on a total of 13 queries. Zlib compression enabled.

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