K
K
Kalombyr2019-08-19 20:21:28
Qt
Kalombyr, 2019-08-19 20:21:28

How can you check that the file is not being used by another program (and not running, if executable)?

Good day!
You need to somehow check that the file cannot be opened in another program, or is not used as a plug-in library, or the file is not launched for execution if it is executable.
So far, I see only as an option to try to remove it and return it to its place.
Maybe there are smarter ways? Interested mainly under Windows, but I would like it to be cross-platform as well.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2019-08-19
@Kalombyr

So far, I see only as an option to try to remove it and return it to its place.

Better try to rename.
This is a fairly fast and versatile, in your case, method.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question