You could copy and paste the following commands into the notepad file:
![mapping synology drive using netdrive 3 mapping synology drive using netdrive 3](https://i.ytimg.com/vi/GrfwL0WGmZQ/maxresdefault.jpg)
Mapping synology drive using netdrive 3 windows#
txt which will allow Windows to execute the batch file. I use batch files like the following instead of vbs or ws scripts, created using notepad with a. Make sure each of the folders is shared and this account permission to access the folder share. It can be new and does not need to match the users logging into the workstations. Since this is not a domain, start by creating an account on file server that will have access to the shares. I would prefer to have one script run at logon, instead of 3 seperate ones to connect to the multiple folders I want shared to the user's profile. If so how would it look? I'm not sure of the proper structure. I basically want the first script I posted, but to have the second script I posted's information so the user does not have to provide their credentials to access the networked share everytime. So my question is, is it possible to combine mapping multible shares in a script and give the specific user info for that computer, to gain access to these shares. ObjNetwork1.MapNetworkDrive strLocalDrive1, strRemoteShare1, strPer1, strUsr1, strPas1 StrRemoteShare1 = " \\tfcoop\users\Corinne's Documents" Set objNetwork1 = WScript.CreateObject("WScript.Network") But I need to share 3 seperate folders to each machine. Obviously, I'm missing telling it the user's information to gain access to the share. ObjNetwork.MapNetworkDrive strDriveLetter3, strRemotePath3 ObjNetwork.MapNetworkDrive strDriveLetter2, strRemotePath2 ObjNetwork.MapNetworkDrive strDriveLetter1, strRemotePath1 Set objNetwork = CreateObject("WScript.Network") StrRemotePath3 = " \\tfcoop\users\Chris's Documents" StrRemotePath2 = " \\tfcoop\Shared Documents" Here is my current script I am using.ĭim objNetwork, strRemotePath1, strRemotePath2, strRemotePath3ĭim strDriveLetter1, strDriveLetter2, strDriveLetter3
![mapping synology drive using netdrive 3 mapping synology drive using netdrive 3](https://www.synology.com/helpfile/help/FileStation/1.2/FileStation/images/mountremotevolume/01.png)
I have a few folders of files I would like to share too the three other computers on the nework (all in the same workgroup). The server is running Windows server 2003 rc2. Hi, I'm currently managing a small colabrative of 3 machines and a server.