PDA

View Full Version : [Win32 API/MFC] NET USE?


Pointy
12-03-2002, 09:24 PM
Is there a way to perform mapping of drives, in the way NET USE does it? i know i can use the system() function, but i was wondering if there is an API function (or MFC).

Additionally, is there a Win32 API function (or MFC) for accessing files, where you can specify user name and password (in case the accessed file happens to need authentication)?

thanks

skidooer
12-15-2002, 06:41 PM
Try WNetAddConnection<2,3>