client mapping to a partition on a server

By mark ·
I have setup a partition on a server. I would like to have client workstations map a few logical drives to different parts of the partion. The partition on the server is labeled 'Z'. Would the following code get the job done in a logon script?
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "Y:" , "\\DBBC-SERVER\z:\DBBC_DB"
objNetwork.MapNetworkDrive "Z:" , "\\DBBC-SERVER\Z:\MemberPO"

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

yes but...

by CG IT In reply to client mapping to a parti ...

clients have to have permission to access the logical drive [partion]. There's no filtering to specific areas of a partition if you share the partition. Share it and give read access to the partition, clients get read access to the entire partition.

The filtering comes with creating folders stored in the partition and then share the folder.

Related Discussions

Related Forums