Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PathIsUNC just isnt enough.....

Status
Not open for further replies.

dcswee

Programmer
Jan 23, 2002
13
0
0
GB
I know about the PathIsUNC API call to check that a string forms a UNC path, but is there any API that I can use to actually go and check that the network resource is there ?

BOOL isItThere = PathIsUNC((LPCSTR)"\\DAN\C$\Temp");

I need to know that I can actually access \\DAN\C$\Temp.

Help would be greatly appreciated....
 
You could always use the "DirectoryExists" function. I believe you can use a UNC path in this function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top