I thought I explained how... [Frown]
code:
Debug on
If $label AND Val(@DOS)>4 AND NOT $iErr
$driveobj=CreateObject('shell.application')
$iErr=@ERROR
If NOT $iErr
$driveobj.namespace($mount+'\').self.name=$label
$iErr=@error
EndIf
$driveobj=''
EndIf
Debug off


_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.