Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attaching to a Shared NT W/S resource
Message
 
 
To
25/04/2001 12:12:11
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00499661
Message ID:
00499677
Views:
25
>I am using the WScript.Network object to try and attach to an NT workstation which has a share on C$ (C: Drive) for Domain Admin users.
>
>I have the Admin passwords for these NT W/S and I am trying to attach to them from the MapNetworkDrive in Wscript by issuing the Username and Password parameters.
>
>The only thing is that I'm using W95.
>
>Can I still pass the username/passwords through the WScript object even though the operating systems differ.
>
>Thanks
>Kev

Yes you can. You are doing simply drive mapping which is supported on all Windows platforms. Using a different name and password accesses a different API call. As the WSH is a COM wrapper to the Windows API, it knows what DLL/function to use to do this under Win9X.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform