#204531 - 2012-03-21 02:50 AM
SetOption("WOW64AlternateRegView", "ON")
|
KIXKicks
Starting to like KiXtart
Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
|
Using this in script, it echos ON or OFF (depending on the value of the command) on the screen. Is there a way to turn it off or customize the echo?
SetOption("WOW64AlternateRegView", "ON")
$READREG = ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Websense\Agent", "InstallPath")
SetOption("WOW64AlternateRegView", "OFF")
"WEBSENSE ENDPOINT [DIR]: " + $READREG
Returns: OFFONWEBSENSE ENDPOINT [DIR]: C:\Program Files\Websense
Rather have nothing or something like: WOW64AlternateRegView = OFF WEBSENSE ENDPOINT [DIR]: C:\Program Files\Websense WOW64AlternateRegView = ON
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 793 anonymous users online.
|
|
|