Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB/WS script, can they be made permanent?

Status
Not open for further replies.

mikecazz

Technical User
May 5, 2007
12
0
0
US
I just started with scripting and I noticed a basic drive mapping script does not hold the mappings after a restart.

Is there a way to make a script like this permanent or are they mainly used to perform tasks at boot time?

Example:
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "M:", "\\Server2003\Shared Files
 
bjNetwork.MapNetworkDrive "M:", "\\Server2003\Shared Files"[!], True[/!]

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top