You can get the UNC translation of a drive letter using the Windows API function WNetGetConnection(). E.g.:
#include
char retBuf[300];
DWORD retBufLen = 300;
DWORD status;
status = WNetGetConnection("P:",retBuf,&retBufLen);
You will need to install the Windows SDK to access this function.
Martin.
--
Martin
Certified CVI Developer