If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
File in use by other process, how to unuse ?
Hi I have several computers (programs) using the same file on a server, one computer(program) i writing exclusively and the others are reading. What do I do, if one of my programs terminate with an open handle to the file, then the file will always be in use and not accessible for the other computers. How to deal with such a situation, without restarting all computers ?? Thanks in advance Best regards Asger |
Ads |
#2
|
|||
|
|||
File in use by other process, how to unuse ?
Sorry, wrong group! |
#3
|
|||
|
|||
File in use by other process, how to unuse ?
On 04 Jan 2017, "Asger Joergensen" wrote in
alt.windows7.general: I have several computers (programs) using the same file on a server, one computer(program) i writing exclusively and the others are reading. What do I do, if one of my programs terminate with an open handle to the file, then the file will always be in use and not accessible for the other computers. How to deal with such a situation, without restarting all computers ?? Check out the NET FILE command: C:\net help file The syntax of this command is: NET FILE [id [/CLOSE]] NET FILE closes a shared file and removes file locks. When used without options, it lists the open files on a server. The listing includes the identification number assigned to an open file, the pathname of the file, the username, and the number of locks on the file. This command works only on computers running the Server service. id Is the identification number of the file. /CLOSE Closes an open file and removes file locks. Type this command from the server where the file is shared. |
#4
|
|||
|
|||
File in use by other process, how to unuse ?
Hi Nil
Nil wrote: Check out the NET FILE command: C:\net help file The syntax of this command is: NET FILE [id [/CLOSE]] NET FILE closes a shared file and removes file locks. When used without options, it lists the open files on a server. The listing includes the identification number assigned to an open file, the pathname of the file, the username, and the number of locks on the file. This command works only on computers running the Server service. id Is the identification number of the file. /CLOSE Closes an open file and removes file locks. Type this command from the server where the file is shared. That will come in handy, I'm sure. Thanks. Best regards Asger |
Thread Tools | |
Display Modes | Rate This Thread |
|
|