Mar 22, 2008 #1 DseeDm Programmer Sep 2, 2002 31 US Hello, Hopefully this is an easy one. I have a process that moves a file. Just need to check to see if the file is open before I move it. Any sugestions? Thanks - D
Hello, Hopefully this is an easy one. I have a process that moves a file. Just need to check to see if the file is open before I move it. Any sugestions? Thanks - D
Mar 22, 2008 #2 strongm MIS May 24, 2001 20,149 GB Try and get an exclusive lock on it. If it fails, the file is in use ... Upvote 0 Downvote