>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