Hi,
In the code above, when I try to map the drive as
for eg., \\server\share1\dir1\subdir1
It only looks for \\server\share1 to be correct. If the rest of the details like dir1 and subdir1 are correct and they exist then they are mapped. If either dir1 or subdir1 is incorrect, still it maps...