notsomuchscripting
2009-05-14 18:45:17 UTC
I want to ask the user to input the IP address of the server so that we
can use this script at multiple sites. Also, I want the user to pick
which open network drive they want to use.
<code>
dim answer
IP=InputBox("What is the NBO server IP Address:")
Drive=InputBox("What drive letter would you like to use for your
install scripts?")
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive Drive , Drive, "\\" IP "\data\zdm\apps"
</code>
can use this script at multiple sites. Also, I want the user to pick
which open network drive they want to use.
<code>
dim answer
IP=InputBox("What is the NBO server IP Address:")
Drive=InputBox("What drive letter would you like to use for your
install scripts?")
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive Drive , Drive, "\\" IP "\data\zdm\apps"
</code>
--
notsomuchscripting
------------------------------------------------------------------------
notsomuchscripting's Profile: http://forums.techarena.in/members/98512.htm
View this thread: http://forums.techarena.in/server-scripting/1180247.htm
http://forums.techarena.in
notsomuchscripting
------------------------------------------------------------------------
notsomuchscripting's Profile: http://forums.techarena.in/members/98512.htm
View this thread: http://forums.techarena.in/server-scripting/1180247.htm
http://forums.techarena.in