Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapping to network drive using .BAT file
Message
From
23/03/2004 14:37:24
 
 
To
23/03/2004 13:00:24
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00888895
Message ID:
00888991
Views:
27
Alex--

>Another possible option is to use WSH:
>
>oWSHNet = CREATEOBJECT('Wscript.Network')
>oWSHNet.MapNetworkDrive('R:','\\SomeServer\AppShare',.t.,'uid','pwd')
>
I have always stayed away from WSH. I understand that WSH is an entry point for viri to do damage and consequently many IT departments have removed it. Consequently if it is here today, it can be gone tomorrow and then my stuff is broke.

Any thought on how I can get errors reported out from WNetAddConnection and what they mean?

Tim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform