converting filename to truename... ??
Posted on 1998-03-25
if have a string which is a filename on drive h: for ex
strFilename := 'h:\ab\test.doc'
i'm on a network and i want to convert strFileName to a truename like '\\servername\sharename'
i use Windows.WNetGetConnection(PChar('h:'),PChar(strNetPath),dwMaxNetPathLen)
to get the truename of h:
but how do i put these two string together ???
i have tried some string operations. but i cannot get this to work.