don't know about udf but simple:
code:
$width=80
$height=25
$key="__server_NETLOGON_WKIX32.EXE"
$nul=writevalue("HKEY_CURRENT_USER\Console\"+$key,"screenbuffersize",right("000"+dectohex($width),4)+right("000"+dectohex($height),4),"REG_DWORD")

takes care of that.
_________________________
!

download KiXnet