Sorry I cut the $ when I removed important site related comments. I'm passing the parametter in the same way for all drives. Only the compressed drives or compressed share folders give me the problem.

Other examples:

$DriveID = "P:" ; ** Map the P: drive to
$PathID = "$FPserver\Apps"
GOSUB MapDrive

Thanks !
_________________________
Sphinx ------------------------ A life full of Mysteries