Advertisement

08.05.2008 at 08:26AM PDT, ID: 23622558
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

Map drives on network script failing. PLease view code and help me figure it out.

Asked by crowdergulf in VB Script, Scripting Languages

Just simple erros i keep getting. (line 23, car 3..)
I've gone over this and over it and I cant find the problem. So i figured turn to the smart people on EE.
Please help me find whats wrong with this sript. Its just a very simple map drives for users on a domain. Login script.

Thanks in advance

Option Explicit
Dim objNetwork, strRemotePath1, strRemotePath2, strRemotePath3, strRemotePath4, strRemotePath5, strRemotePath6, strRemotePath7, strRemotePath8, strRemotePath9, strRemotePath10, strRemotePath11, strRemotePath12, strRemotePath13
Dim strDriveLetter1, strDriveLetter2, strDriveLetter3, strDriveLetter4, strDriveLetter5, strDriveLetter6, strDriveLetter7, strDriveLetter8, strDriveLetter9, strDriveLetter10, strDriveLetter11, strDriveLetter12, strDriveLetter13

strDriveLetter1 = "z:"
strDriveLetter2 = "Y:"
strDriveLetter3 = "X:"
strDriveLetter4 = "W:"
strDriveLetter5 = "V:"
strDriveLetter6 = "U:"
strDriveLetter7 = "T:"
strDriveLetter8 = "S:"
strDriveLetter9 = "R:"
strDriveLetter10 = "Q:"
strDriveLetter11 = "P:"
strDriveLetter12 = "o:"
strDriveLetter13 = "N:"
strRemotePath1 = "\\file-sr\Danny"
strRemotePath2 = "\\file-srv\Danny scans"
strRemotepath3 = "\\file-srv\Judy"
strRemotepath4 = "\\file-srv\Kelly"
strRemotepath5 = "\\Timber-server\TSGOLD"
strRemotepath6 = "\\timber-server\bestserv"
strRemotepath7 = "\\timber-srv\software"
strRemotepath8 = "\\Timber-server\Scans"
strRemotepath9 =  "\\File-srv\Network"
strRemotepath10 = "\\File-srv\Hurricane Ivan"
strRemotepath11 = "\\file-srv\susan"
strRemotepath12 = "\\file-srv\craig"
strRemotepath13 = "\\file-srv\public share"

Set objNetwork = CreateObject("WScript.Network")

' Section which maps two drives,
objNetwork.MapNetworkDrive strDriveLetter1, strRemotePath1
objNetwork.MapNetworkDrive strDriveLetter2, strRemotePath2
objNetwork.MapNetworkDrive strDriveLetter3, strRemotePath3
objNetwork.MapNetworkDrive strDriveLetter4, strRemotePath4
objNetwork.MapNetworkDrive strDriveLetter5, strRemotePath5
objNetwork.MapNetworkDrive strDriveLetter6, strRemotePath6
objNetwork.MapNetworkDrive strDriveLetter7, strRemotePath7
objNetwork.MapNetworkDrive strDriveLetter8, strRemotePath8
objNetwork.MapNetworkDrive strDriveLetter9, strRemotePath9
objNetwork.MapNetworkDrive strDriveLetter10, strRemotePath10
objNetwork.MapNetworkDrive strDriveLetter11, strRemotePath11
objNetwork.MapNetworkDrive strDriveLetter12, strRemotePath12
objNetwork.MapNetworkDrive strDriveLetter13, strRemotePath13



Wscript.Quit

' End of Windows Logon Script ExampleStart Free Trial
[+][-]08.05.2008 at 08:32AM PDT, ID: 22161930

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 08:34AM PDT, ID: 22161958

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 08:51AM PDT, ID: 22162162

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 10:04AM PDT, ID: 22162880

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 10:45AM PDT, ID: 22163261

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: VB Script, Scripting Languages
Sign Up Now!
Solution Provided By: ben1974
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.05.2008 at 11:22AM PDT, ID: 22163546

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 11:54AM PDT, ID: 22163863

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 01:30PM PDT, ID: 22164888

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628