Hey Oleg,
Is it possible somehow to see which user (file lock) has opened the file and returning that value to a variable? I'm using now the {IsFileFree(c:\autoexec.bat)} method. It returns a true or false but for the error handling, I would like to include who is the one to blame
Check who has file open
Re: Check who has file open
Agree.
And additionally, the ability to unlock the file (close the file, or kill the process, etc.): https://robotask.com/forum/viewtopic.php?f=2&t=2751
And additionally, the ability to unlock the file (close the file, or kill the process, etc.): https://robotask.com/forum/viewtopic.php?f=2&t=2751
Re: Check who has file open
Good morning,
I would like to make this topic current again.
I have to update an excel file every day but if someone has already opend it the update fails.
It would be great if I could identify the person who has opened the file to inform them that the update has failed because the file is still open.
I would like to make this topic current again.
I have to update an excel file every day but if someone has already opend it the update fails.
It would be great if I could identify the person who has opened the file to inform them that the update has failed because the file is still open.