Dim oFSO
Dim oRS
Set oFSO = GetObject("WinNT://YourPCName/LanmanServer"
For Each oRS In oFSO.Resources
MsgBox oRS.Path & " is opened by " & oRS.User
Next
Set oRS = Nothing
Set oFSO = Nothing Jon Hawkins
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.