|
-
May 8th, 2001, 06:56 PM
#1
Find user id for a locked file.
I'm looking for a method of finding the network user id of a person who has a file locked.
Finding if the file is locked is simple enough. But I can't seem to tell who has it locked.
The files are on a Windows NT server and the workstations for the most part are Win98/2000.
Any ideas?
-
May 9th, 2001, 02:29 PM
#2
Black Cat
Use something like Net Watch or Server Manager from the NT/2000 Resource Kits.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
May 9th, 2001, 06:18 PM
#3
No can do.
While that would be easy to do. I need to incorperate it into a utility I'm writing.
There must be an api call or something to tell what user has a file locked or open...
Lee
-
May 10th, 2001, 05:59 AM
#4
Black Cat
It would be NetShareEnum then NetConnectionEnum, but I don't have VB code on how to use them.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
May 10th, 2001, 11:05 AM
#5
Thanks
Hey a start is all I needed to get going on it, thanks.
Lee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|