Pech,

You mention "delete persistent mappings."

In your code, there is no persistent nor /delete /persistent used except where Howard points that out.

If you use /persistent you may need to have your users have rights to do so on the machine too.

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