OK.. If I comment out -
Code:

$rc=execute('$$resource='+$resource)



It works fine, but if I uncomment it, and run with the login script it shows:
Quote:


ERROR : undefined variable []!
Script: \\SERVER\NETLOGON\newscript\ENUMINI.KIX
Line : 1





Thanks,

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