Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Problem: Ldap Vbscript windows logon

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,29837
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Problem: Ldap Vbscript windows logon
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Problem: Ldap Vbscript windows logon - 1/12/2006 7:03:25 PM   
  brainstorm

 

Posts: 1
Score: 0
Joined: 1/12/2006
Status: offline
Hi,

i've just scripted a vbscript for Windows logon.
The Problem is that the Home Drive for Users is mapped with
       and I want to add a "$" after "objNetwork.UserName", but I don't know how ?!

Anyone an idea ?

Here is the complete login script again:


      
 
 
Post #: 1
 
 RE: Problem: Ldap Vbscript windows logon - 1/12/2006 11:13:22 PM   
  crazymatt

 

Posts: 296
Score: 0
Joined: 3/4/2005
From:
Status: offline
try this

objNetwork.MapNetworkDrive "m:", "\\dv-server\"  & objNetwork.UserName & "$"

/Matt

_____________________________

-There is only 10 sorts of people, those who understand binary and those who dont.

(in reply to brainstorm)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Problem: Ldap Vbscript windows logon Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts