Hi all
I'm using the a modified version of the "Who opened what files on the network?" utility from Paul Vlad Tatavu (thanks Vlad!) and it works great....but...
The second parameter to be passed has this restriction:
*--------------------------------------------------
* The base path. Only the files in this directory
* (and all subdirectories) will be returned.
* This path must be specified as the local path
* on the computer where the files were opened, and
* not as the UNC path.
*--------------------------------------------------
Now, I have a problem, one of my apps is installed in a mapped drive, and I can't use the function as it requires the LOCAL path on the file server.
So if the exe in the file server is in:
D:\somefolder\somefolder0\somefolder1\myapp\myexe.exe
and the UNC path is:
\\fileserver\somesharedfolder\myapp\myexe.exe
or
\\fileserver\D$\somefolder\somefolder0\somefolder1\myapp\myexe.exe
and my customer has it "\\fileserver\D$\somefolder\somefolder0\somefolder1\" mapped as W:, then
with w:\myapp\myexe.exe I can get the UNC path, but, how to get the LOCAL path on the file server?
Is it possible at all?
TIA
Maria E. Zambrano