Exactly - just be aware that in Allen's example, $Server will be empty if it was not a UNC path, and $Share will contain a drive letter.

I see that my explanation "elements (1)..." might be misleading - I avoided using square brackets in case they would conflict with the UBB formatting codes.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D