The basis of the code I provided is from -
setting a user's login script.

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's