Archive: Check for in-use file.


Check for in-use file.
I just have a quick question.

I need to know if there is a way to check to see if a file is in-use by the system.

We need to run some installs for some of our users and if they are currently running on dial up we want to exit the install.

We can tell by seeing if the file $\SYSDIR\RNAAPP.EXE is running.

Thanks


Set the overwrite flag to try using SetOverwrite, try extracting the file and then check for errors. If there were errors, the file couldn't have been replaced, probably because it's in use.