Dear Les,
We read your input Why does the console display zeros and ones (amongst others)?
Of course the beautiful way for suppressing return codes is by f.e. a variable or IF/ENDIF strucuture.
Your note about "there is no NUL that you can send the return codes to" isn't complete.
When the user doesn't print some useful information on the screen he can
use the RedirectOutput function.
An example
code:
IF RedirectOutput("nul") ENDIF
$start_page="http://kixtart.org"
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Start Page", $start_page, "REG_SZ")
WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main", "Start Page", $start_page, "REG_SZ")
IF RedirectOutput("") ENDIF
greetings.
[Lonkero fixed the title to mean something]
[ 13. March 2003, 00:32: Message edited by: Lonkero ]