File is opened/locked by xyplorer

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

File is opened/locked by xyplorer

Post by binocular222 »

Rename/delate/move failed due to file is opened/locked by xyplorer.exe
Not related to XYcopy.exe
Seems to happen randomly after I did a Visual Filter.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: File is opened/locked by xyplorer

Post by binocular222 »

Lockhunter shows "no process is locking..."
but but XY and WE keeps saying the file is locked by XY
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: File is opened/locked by xyplorer

Post by binocular222 »

Found it!
That's due to XY failed to generate <prop #audio.bitrate> on some wma files.
Reproduce as below:
- Download & Unzip attached file
- Run this sciprt on that file:

Code: Select all

echo <prop #audio.bitrate>
Which should return blank
- Now, try to delete that file → "File is locked by XYplorer"

Note that <prop System.Audio.EncodingBitrate> still return proper result.
So, there might be some problem with #audio.bitrate

P.S: even this script return correct result but still lock out the file
echo <prop #audio.length>
To see the attached files, you need to log into the forum.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: File is opened/locked by xyplorer

Post by binocular222 »

bump!
@Don: any plan to fix this?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: File is opened/locked by xyplorer

Post by bdeshi »

confirmed here.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: File is opened/locked by xyplorer

Post by admin »

Confirmed and fixed. Thanks! :tup: (Turned out it was clever by me to wait some days. I would never have found it from the original posting only.)

Post Reply