[Migrated content. Thread originally posted on 17 July 2009]
Hi allI would like to convert a regular file naming for a file e.g (K:\\folder\\a.txt) to Universal Naming Convention (UNC)
If "K:" is a network drive connected to "\\\\server\\folder_1\\folder_2", I would like to get "\\\\server\\folder_1\\folder_2\\folder\\a.txt"
I am trying to use the WNetGetUniversalNameA function (part of mpr.dll) but with no success...
Is there any other way?
I am not so experienced with running API functions.
I supposed it's something like:
CALL "MPR.DLL"
CALL "WNetGetUniversalNameA" USING
I think I am missing something with the declaration of parameters
I will apreciate any help...
Thanos
P.S. My computer runs XP, Acubench version is 7.2.0



