The UDF that I know of hacks the registry. What's wrong with a little string manipulation and one of the KiX SET commands?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.