Lonkero/anyone,

Beyond placing his code into the proper code post and tabbing the if, endif statements, how would you simplify/cleanup this code? I'd be interested to know. It appears that there are many ways to skin a KiX script...

For example: Is it allows to define a DIM variable with two seperate definitions? Code:
 DIM $key
$key=""
$key=READVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run","LoginAgent")


THANKS!
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5