Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Script To Network Drives

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

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Script To Network Drives
  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 >>
 Script To Network Drives - 11/14/2006 3:19:58 AM   
  StylinLancer


Posts: 57
Score: 0
Joined: 10/4/2006
Status: offline
Is there some kind of script to connect to mapped networked drives? I have drives mapped on my laptop and each time I logon the drive dont connect automatically but the box to reconnect at logon is checked.

If there is a script please let me know and let me know how to run the script when I logon to my pc.

Thanks in advance!
 
 
Post #: 1
 
 RE: Script To Network Drives - 1/12/2007 5:36:19 AM   
  Country73


Posts: 716
Score: 8
Joined: 8/25/2004
From: USA
Status: offline
Looks like this one has been out here for a little while...

If you haven't already resolved this; are you able to run this simple script- (replace the drive letter and the location with your information)

Set oNetwork = CreateObject("WScript.Network")
   oNetwork.MapNetworkDrive "H:" , "\\Server\Share"



(in reply to StylinLancer)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Script To Network Drives 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