- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank youJugoslav!
Prompt and knowledgable as always!
Lars M
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page