>procedure CreateMap
>
Mark, WNetAddConnection has one major drawback - the login for making the connection to the server must be the same as your Windows login if you have not logged into the server before during this session. Either WNetAddConnection3() (see my NETRESOURCE class) or Wscript.Network's MapNetworkDrive method will accept a userid in addition to a password.EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater
NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC
The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys