>I am working on a VFP 5.0 application running on Windows NT 4.0 workstation. We have Novell 4.1 servers with Multi Protocol Routers to support multiple remote locations (through a WAN). The net effect is: when I click on Network Neighborhood shortcut, I see all the servers I can login and subsequently map a drive to.
>
>My question is: which native Windows Win 32 APIs I can use to login and then to map a drive (or use the UNC)?
You can use NetAddConnection2() or something like that.
But, an easy way to go might be to run a map.cmd file from Visual FoxPro. In this cmd file, you can then define as many NET USE you want to other stuff.