I suggest to introduce new identifier $file().IsInUse that will return $true or $false if a file (executable, text etc.) is in use by a program or not.

Last edited by klez; 24/11/16 11:37 AM.