"Inquire" on drive letter mapping

"Inquire" on drive letter mapping

Is there a way in the IVF (and/or CVF) environment to find out the the network folder that a drive letter is mapped to?

Background: I want to be able to determine the "exact" definition of a file name so that I can be sure from where it originates in a network.

If I, for example, open a file "R: est.txt" and
open another file \nodedir1dir2 est.txthowam I know in my Fortran program that it is the same file when "R"has beenmapped to \nodedir1dir2?

Lars M

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

WNetGetUniversalName is your friend; here is a simple example, and here is a bulletproof one which handles the local files correctly and works even on Win9x (see description).

Thank youJugoslav!

Prompt and knowledgable as always!

Lars M

Leave a Comment

Please sign in to add a comment. Not a member? Join today