Well not wrong. However by using "myserver" probably is misleading. When "myserver" is in our case an alias to to DFS share.

Sorry boss - for a more generic response Les is correct and I should have spelled it out better. However was also meaning that there is no real special code involved. It is still just mapping a drive.