![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | map a published shared folder Hi, How can I map a shared folder published in active directory using a drive letter z. thanks |
My System Specs![]() |
| | #2 (permalink) |
| | Re: map a published shared folder Does "Net Use z: \servername\sharename " not work for you? As you're asking in a vbscript forumn, how about... ' From the book, "Windows XP Cookbook" ' ISBN: 0596007256 ' ------ SCRIPT CONFIGURATION ------ strDrive = "<Drive>" ' e.g. N: strPath = "<Path>" ' e.g. \\rtp01\c$\temp strUser = "<User>" ' e.g. AMER\rallen strPassword = "<Password>" boolPersistent = True ' True = Persistent ; False = Not Persistent ' ------ END CONFIGURATION --------- set objNetwork = WScript.CreateObject("WScript.Network") objNetwork.MapNetworkDrive strDrive, strPath, boolPersistent, _ strUser, strPassword WScript.Echo "Successfully mapped drive" HTH, Seymour On Sep 7, 10:35*pm, Mat <M...@xxxxxx> wrote: Quote: > Hi, > > How can I map a shared folder published in active directory using a drive > letter z. > thanks |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: Create Published folder in AD | PowerShell | |||
| Create Published folder in AD | PowerShell | |||
| Explorer crashes when trying to open a folder on a shared folder on a Win 2003 server | Vista networking & sharing | |||
| Can't create a new file or folder with in a shared folder on a Windows XP machine. Basic Vista networking questions | Vista installation & setup | |||
| Users Folder always gets shared when sharing another folder ??? | Vista networking & sharing | |||