Rename (F2) LFN to SFN - when file is locked, not afforded Retry

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Rename (F2) LFN to SFN - when file is locked, not afforded Retry

Post by therube »

Rename (F2) LFN to SFN - when file is locked, not afforded Retry
LFN, opened in other application - as SFN
(not sure if "as SFN" is required, but file must be "locked" by other application)

if you try to rename as LFN
- Error 32:, allowing Retry
if you try to rename as SFN (such that the resulting name would be SFN)
- Invalid device, with only a Cancel option

Code: Select all

Everything
Version 1.5.0.1270a (x86)
Windows NT 6.1
Processors 4
IsAdmin 0
AppData 0
Service 1
cmdline .\everything.exe  -instance 15
MoveFile:
\\?\I:\54.39\........-... ..... ... ........... ... .. .....  ...   .... ... ...
. ...., ....-... .... .... ...., .... ...., ..-... .... ...., ..-... .... .....
.... ..., ....-... ...., ..-... .... ..... .... ..., ..-... ... ..., ..-... ....
., ..-..., ....-... .....mp4
to:
I:\54.39\abc123.mp4
MoveFileEx 32
try rename: 0:
I:\54.39\........-... ..... ... ........... ... .. .....  ...   .... ... .... ..
.., ....-... .... .... ...., .... ...., ..-... .... ...., ..-... .... ..... ....
 ..., ....-... ...., ..-... .... ..... .... ..., ..-... ... ..., ..-... ....., .
.-..., ....-... .....mp4
to:
I:\54.39\abc123.mp4
rename:
I:\54.39\........-... ..... ... ........... ... .. .....  ...   .... ... .... ..
.., ....-... .... .... ...., .... ...., ..-... .... ...., ..-... .... ..... ....
 ..., ....-... ...., ..-... .... ..... .... ..., ..-... ... ..., ..-... ....., .
.-..., ....-... .....mp4
to:
I:\54.39\abc123.mp4
MoveFile:
\\?\I:\54.39\........-... ..... ... ........... ... .. .....  ...   .... ... ...
. ...., ....-... .... .... ...., .... ...., ..-... .... ...., ..-... .... .....
.... ..., ....-... ...., ..-... .... ..... .... ..., ..-... ... ..., ..-... ....
., ..-..., ....-... .....mp4
to:
I:\54.39\abc123.mp4
MoveFileEx 32
WM_ACTIVATE 00000000 011e0578, lastfocus 00b30376, current focus 008e04fc
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Rename (F2) LFN to SFN - when file is locked, not afforded Retry

Post by void »

Thank you for the bug report therube,

Fixed for the next alpha update.
For the next alpha update, Everything will show the same dialog when either the new or old filename is too long and the file is locked:

Unable to rename

Error 32: The file is open in another program and the filename is invalid or too long.


This dialog will give the option to retry or cancel.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Rename (F2) LFN to SFN - when file is locked, not afforded Retry

Post by void »

Everything 1.5.0.1271a adds this new retry/cancel dialog when an inline rename fails because it was locked and too long.
Post Reply