Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapping a network drive
Message
 
To
12/01/1999 12:06:47
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00175103
Message ID:
00175159
Views:
30
>I am trying to map to a network drive
>The problem is when I issue my map command:
>
>lcMap = "MAP i:=s3\sys:\"
>
>Run &lcMap The Dos Window blinks on
>Run /N &lcMap The Dos window Stays on
>
>Is there a way to map a drive without the Dos window being shown?
>
>Thanks in advanced

Hi Mike,

I wrote an article in the May, 1998 issue of FoxPro Advisor which discusses the WNetAddConnection() function that Ed mentioned as well as a number of others connected with networking (such as WNetCancelConnection to unmap the drive). If you have access to it, you might want to check it out.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform