![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Re: Test for a particular open file?
"£Jim" <hoo.me@some.net> wrote in message news:xn0fppa45jykvvh000@msnews.microsoft.com... > Hi, > I would like to be able to find out if a particluar file on a Windows > 2003 server is open (and if possible who has it open). Is there a way > to do that programmatically? > Thanks > -- Try this: net file | find /i "xxx.doc" where "xxx.doc" is the name of the file you're after. |
|
|||
|
Re: Test for a particular open file?
"£Jim" <hoo.me@some.net> wrote in message news:xn0fppe28k3v07a000@msnews.microsoft.com... > Thanks! That looks like it works. Is there a way to add a remote server > as a parameter, or must it run on the server itself? > -- Use psexec.exe from www.sysinternals.com. |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|