Question Locked

client mapping to a partition on a server

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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"

2 replies

by cg it

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.

This discussion is closed to new replies.