Renaming files in use

Discussion related to "Everything" 1.5 Alpha.
Post Reply
seawizard
Posts: 3
Joined: Mon Mar 20, 2023 9:55 pm

Renaming files in use

Post by seawizard »

Hey all, not sure if this is an issue with Everything or something else, but previously I was able to rename files in use, but now I can't anymore.

Example: I could be playing a video file, change the filename in Everything, and there wouldn't be an issue. It was really useful because I didn't have to close down the file to rename it.

But now an error pops up that the file is in use.

Is this a change in Everything or something else?

Thanks.
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: Renaming files in use

Post by void »

Everything will only be able to rename opened files if they are opened with FILE_SHARE_DELETE. (allow delete)

Please make sure all opened handles are opened with FILE_SHARE_DELETE.

Process Explorer from sysinternals might be helpful.
Post Reply