You should also keep variables outside strings and the $ signs of the hidden shares might need doubling up as described in the Kixtart Manual.

You should also properly indent code so that one can actually read the different code blocks.

Before mapping a drive letter, the drive might need to be unmapped if users tend to map their own drives via
code:
use r: /delete /persistent

or use any of the MapDrive() UDFs for all your mappings to be consistent.

[ 02. August 2003, 14:36: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.