Within Everything find dupe of selected file (size-ext)
Within Everything find dupe of selected file (size-ext)
Following scenario: Filter on ext:psd, selected drive: F:
select click a psd file
Now find duplicates elsewhere based on size and ext, but ... leave the current view in place.
This from within Everything.
Currently I use a workaround, jump to the folder (Opus) then do the duplicate search from there, viz. Opus context menu.
That will bring up duplicates in a separate Everything tab bar.
I wonder whether this can be done within Everything, no idea.
Thanks.
select click a psd file
Now find duplicates elsewhere based on size and ext, but ... leave the current view in place.
This from within Everything.
Currently I use a workaround, jump to the folder (Opus) then do the duplicate search from there, viz. Opus context menu.
That will bring up duplicates in a separate Everything tab bar.
I wonder whether this can be done within Everything, no idea.
Thanks.
Re: Within Everything find dupe of selected file (size-ext)
Please consider adding a context menu item to find duplicated items in Everything based on size and extension:
Right click your file and click Find dupes in Everything
Everything will open a new tab with the search:
-new-tab
[extension:...]
[getsize:...]
- From the Start menu, search for:
regedit - Right click Registry Editor and click Run as administrator.
- Navigate to:
HKEY_CLASSES_ROOT\* - Create the following key:
shell
- Navigate to:
HKEY_CLASSES_ROOT\*\shell - Create the following key:
Find dupes in Everything
- Navigate to:
HKEY_CLASSES_ROOT\*\shell\Find dupes in Everything - Create the following key:
command
- Navigate to:
HKEY_CLASSES_ROOT\*\shell\Find dupes in Everything\command - Set the (Default) value data to:
"C:\Program Files\Everything\Everything.exe" -new-tab -s size:[getsize:"%1"]" "ext:[extension:"%1"]
(where C:\Program Files\Everything\Everything.exe is your Everything.exe location)
Right click your file and click Find dupes in Everything
Everything will open a new tab with the search:
size:<the size of your file> extension:<the extension of your file>-new-tab
[extension:...]
[getsize:...]
Re: Within Everything find dupe of selected file (size-ext)
Thanks a lot! Matter solved.
FWIW and just for info: one way or the other no dups were found in the new tab.
Regretfully, I couldn't get it working.
Maybe some 'get' was missing, really don't know.
Anyway, I have made a little change to the parameters:
(as used in Opus)
This works fine.
Thanks again - I wouldn't have figured this out myself (registry settings)
FWIW and just for info: one way or the other no dups were found in the new tab.
Regretfully, I couldn't get it working.
Maybe some 'get' was missing, really don't know.
Anyway, I have made a little change to the parameters:
Code: Select all
"C:\Program Files\Everything\Everything.exe" /new-tab -s* size:[getsize:"%1"] ext:[get-property:"%1","extension"]This works fine.
Thanks again - I wouldn't have figured this out myself (registry settings)
Re: Within Everything find dupe of selected file (size-ext)
Excellent, I was looking for this.void wrote: Sat Nov 23, 2024 1:18 am Please consider adding a context menu item to find duplicated items in Everything based on size and extension:
- From the Start menu, search for:
regedit- Right click Registry Editor and click Run as administrator.
- Navigate to:
HKEY_CLASSES_ROOT\*- Create the following key:
shell
- Navigate to:
HKEY_CLASSES_ROOT\*\shell- Create the following key:
Find dupes in Everything
- Navigate to:
HKEY_CLASSES_ROOT\*\shell\Find dupes in Everything- Create the following key:
command
- Navigate to:
HKEY_CLASSES_ROOT\*\shell\Find dupes in Everything\command- Set the (Default) value data to:
"C:\Program Files\Everything\Everything.exe" -new-tab -s size:[getsize:"%1"]" "ext:[extension:"%1"]
(where C:\Program Files\Everything\Everything.exe is your Everything.exe location)
Right click your file and click Find dupes in Everything
Everything will open a new tab with the search:
size:<the size of your file> extension:<the extension of your file>
-new-tab
[extension:...]
[getsize:...]
But I have a problem. For some files it works, but for others it opens a new tab with just this: "size:"
I'd also like to ask for the command to replace the "getsize" command for one to get "length" if that's possible.
Re: Within Everything find dupe of selected file (size-ext)
Please make sure Everything has access to the file.But for others it opens a new tab with just this: "size:"
-If Everything is running as administrator, Everything will not have access to mapped network drives.
-Is Everything showing [administrator] in the window caption?
Please check the command line sent to Everything:
- In Everything, from the Tools menu, under the Debug submenu, click console.
- Perform your context menu -> Find dupes in Everything
- Check your debug console for:
cl: "C:\Program Files\Everything 1.5a\Everything64.exe" -new-tab -s size:[getsize:"c:\path\to\file.txt"]" "extension:[extension:"c:\path\to\file.txt"]
c:\path\to\file.txt -Please try the path in Windows Explorer to ensure it's valid.
To close the debug console:
- In Everything, from the Tools menu, under the Debug submenu, uncheck console.
Please make sure size indexing is enabled under Tools -> Options -> Indexes.
Please make sure Everything is reporting the correct file size for the file.
[getsize:] will pull the size from your index if available.
If the size information is not available from your index, the size is gathered from disk.
Please try the following command:I'd also like to ask for the command to replace the "getsize" command for one to get "length" if that's possible.
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[eval:[getproperty:"%1","length"]/10000000](where C:\Program Files\Everything\Everything.exe is your Everything.exe location)
[getsize:]
[getproperty:]
Re: Within Everything find dupe of selected file (size-ext)
Thank you for helping.void wrote: Fri Jun 06, 2025 1:41 amPlease make sure Everything has access to the file.But for others it opens a new tab with just this: "size:"
-If Everything is running as administrator, Everything will not have access to mapped network drives.
-Is Everything showing [administrator] in the window caption?
Please check the command line sent to Everything:Please make sure the path looks correct, for example:
- In Everything, from the Tools menu, under the Debug submenu, click console.
- Perform your context menu -> Find dupes in Everything
- Check your debug console for:
cl: "C:\Program Files\Everything 1.5a\Everything64.exe" -new-tab -s size:[getsize:"c:\path\to\file.txt"]" "extension:[extension:"c:\path\to\file.txt"]c:\path\to\file.txt
-Please try the path in Windows Explorer to ensure it's valid.
To close the debug console:
- In Everything, from the Tools menu, under the Debug submenu, uncheck console.
Please make sure size indexing is enabled under Tools -> Options -> Indexes.
Please make sure Everything is reporting the correct file size for the file.
[getsize:] will pull the size from your index if available.
If the size information is not available from your index, the size is gathered from disk.
Please try the following command:I'd also like to ask for the command to replace the "getsize" command for one to get "length" if that's possible.
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[getproperty:"%1","length"]
(where C:\Program Files\Everything\Everything.exe is your Everything.exe location)
[getsize:]
[getproperty:]
Sorry for the delay, I had to sort out some other issues with other matters and I didn't have time to concentrate on this.
I followed the steps:
Everything is running as Admin.
The drive is not a mapped drive.
Path is correct.
Size is correct.
Index file size is enabled.
After trying with a few files for each drive, I just noticed that the size search seems to work for any file from all drives except one.
I've also tried the command you provided to perform the length search:
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[getproperty:"%1","length"]But the result is strange. It performs the search (for example: length:"9830000000"), but it finds nothing, not even the original file from which I made the search.
Re: Within Everything find dupe of selected file (size-ext)
The length of "9830000000" is dealing in microseconds.
In order to find a "length:", you need to convert that to seconds, so 9830000000/1000000 = 9830s
So the you'd want.
In order to find a "length:", you need to convert that to seconds, so 9830000000/1000000 = 9830s
So the you'd want
length:9830Re: Within Everything find dupe of selected file (size-ext)
I see and appreciate the clarification, but this is the result of using this command:therube wrote: Mon Jul 21, 2025 4:47 pm The length of "9830000000" is dealing in microseconds.
In order to find a "length:", you need to convert that to seconds, so 9830000000/1000000 = 9830s
So the you'd want.length:9830
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[getproperty:"%1","length"]as a key in Regedit which was proposed by Void in order to find dupes by length from a context menu shortcut.
If you're saying that in case the command result was in secs instead of microseconds it would be successful in finding a dupe, then can you tell what should I change in the command to get this result?
Re: Within Everything find dupe of selected file (size-ext)
Please try the following:
Code: Select all
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[eval:[getproperty:"%1","length"]/10000000]
Re: Within Everything find dupe of selected file (size-ext)
Excellent! this one works perfectly. Thank you both for the fixvoid wrote: Tue Jul 22, 2025 4:02 am Please try the following:
Code: Select all
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[eval:[getproperty:"%1","length"]/10000000]
To finish this, and forgive me if it's too much to ask
I've made a few attempts to try to put them together (blindly because I have no idea about this topic) but none of them worked.
Also, void, if there's anything else I can try to make the files on that drive searchable with these commands, I'd appreciate it if you'd tell me, because I'm lost. The disk has the same indexing options as others that do work with these commands
Turok wrote: Sat Jul 19, 2025 1:20 amAfter trying with a few files for each drive, I just noticed that the size search seems to work for any file from all drives except one.
Re: Within Everything find dupe of selected file (size-ext)
For same size and length, please try:
In practice, you should only need to check size as it should be rather unique.
Code: Select all
"C:\Program Files\Everything\Everything.exe" -new-tab -s size:[getsize:"%1"]" "length:[eval:[getproperty:"%1","length"]/10000000]
In practice, you should only need to check size as it should be rather unique.
Re: Within Everything find dupe of selected file (size-ext)
Oh can confirm that you're right, it's not necessary, but thanks for providing itvoid wrote: Wed Jul 23, 2025 1:49 am For same size and length, please try:
Code: Select all
"C:\Program Files\Everything\Everything.exe" -new-tab -s size:[getsize:"%1"]" "length:[eval:[getproperty:"%1","length"]/10000000]
In practice, you should only need to check size as it should be rather unique.
Re: Within Everything find dupe of selected file (size-ext)
I don't know why, but just tried and now both commands work also on that specific drive. I recently installed a new version, maybe was this.Turok wrote: Sat Jul 19, 2025 1:20 amThank you for helping.void wrote: Fri Jun 06, 2025 1:41 amPlease make sure Everything has access to the file.But for others it opens a new tab with just this: "size:"
-If Everything is running as administrator, Everything will not have access to mapped network drives.
-Is Everything showing [administrator] in the window caption?
Please check the command line sent to Everything:Please make sure the path looks correct, for example:
- In Everything, from the Tools menu, under the Debug submenu, click console.
- Perform your context menu -> Find dupes in Everything
- Check your debug console for:
cl: "C:\Program Files\Everything 1.5a\Everything64.exe" -new-tab -s size:[getsize:"c:\path\to\file.txt"]" "extension:[extension:"c:\path\to\file.txt"]c:\path\to\file.txt
-Please try the path in Windows Explorer to ensure it's valid.
To close the debug console:
- In Everything, from the Tools menu, under the Debug submenu, uncheck console.
Please make sure size indexing is enabled under Tools -> Options -> Indexes.
Please make sure Everything is reporting the correct file size for the file.
[getsize:] will pull the size from your index if available.
If the size information is not available from your index, the size is gathered from disk.
Please try the following command:I'd also like to ask for the command to replace the "getsize" command for one to get "length" if that's possible.
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[getproperty:"%1","length"]
(where C:\Program Files\Everything\Everything.exe is your Everything.exe location)
[getsize:]
[getproperty:]
Sorry for the delay, I had to sort out some other issues with other matters and I didn't have time to concentrate on this.
I followed the steps:
Everything is running as Admin.
The drive is not a mapped drive.
Path is correct.
Size is correct.
Index file size is enabled.
After trying with a few files for each drive, I just noticed that the size search seems to work for any file from all drives except one.
I've also tried the command you provided to perform the length search:
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[getproperty:"%1","length"]
But the result is strange. It performs the search (for example: length:"9830000000"), but it finds nothing, not even the original file from which I made the search.
But to avoid starting a new thread. I'd like to know if there's a command that allows to find for length dupes in a more precise way (microseconds?) than the proposed:
Code: Select all
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[eval:[getproperty:"%1","length"]/10000000]
The original one (In microseconds?):
Code: Select all
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[getproperty:"%1","length"]Re: Within Everything find dupe of selected file (size-ext)
This will not work, the length needs to be formatted first.-s length:[getproperty:"%1","length"]
To find length duplicates, with millisecond accuracy, please try:
Code: Select all
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[format-duration:[getproperty:"%1","length"],"[h]:mm:ss.SSS"]
Re: Within Everything find dupe of selected file (size-ext)
Ok, I tried but I'm getting no milliseconds like: length:0:00:42.000 or length:0:02:35.000void wrote: Mon Nov 10, 2025 9:55 pmThis will not work, the length needs to be formatted first.-s length:[getproperty:"%1","length"]
To find length duplicates, with millisecond accuracy, please try:
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[format-duration:[getproperty:"%1","length"],"[h]:mm:ss.SSS"]
Re: Within Everything find dupe of selected file (size-ext)
What version of Everything are you using? (Help -> About Everything)
Re: Within Everything find dupe of selected file (size-ext)
Version 1.5.0.1400a (x64)void wrote: Tue Nov 11, 2025 2:28 am What version of Everything are you using? (Help -> About Everything)
Re: Within Everything find dupe of selected file (size-ext)
Thanks for the version information.
What registry string did you use?
Is Everything finding the length in milliseconds correctly?
-Please change your Tools -> Options -> Advanced -> duration_format to:
Check the displayed length matches with the length search after right clicking and clicking Find length duplicate in Everything
What registry string did you use?
Is Everything finding the length in milliseconds correctly?
-Please change your Tools -> Options -> Advanced -> duration_format to:
[d]:hh:mm:ss.SSSCheck the displayed length matches with the length search after right clicking and clicking Find length duplicate in Everything
Re: Within Everything find dupe of selected file (size-ext)
I used this string:void wrote: Tue Nov 11, 2025 9:04 pm Thanks for the version information.
What registry string did you use?
Is Everything finding the length in milliseconds correctly?
-Please change your Tools -> Options -> Advanced -> duration_format to:[d]:hh:mm:ss.SSS
Check the displayed length matches with the length search after right clicking and clicking Find length duplicate in Everything
Code: Select all
"C:\Program Files\Everything\Everything.exe" -new-tab -s length:[format-duration:[getproperty:"%1","length"],"[h]:mm:ss.SSS"]For videos, I checked a few of those .000 and in Format Factory the codec reported is:
Codec ID : isom (isom/iso2/avc1/mp41)
(Or another similar with isom in its name/header)
While movies and series episodes have total different codecs.
Despite it, a file (example) reported in Everything as 0:00:00:19.000 in Format Factory > Media file info is reported as: Duration : 19 s 770 ms. So the info is there
Also others (seems to happen for a little percentage) have no length value (it's empty) in Everything but do have it in explorer and format factory as well.
This must be due to the limitation to certain formats I have specified in properties > Length > Include only this format.
Even if these files without length have a .mp4 extension, in FormatFactory it says "FileExtension_invalid".
I guess I'll have to add an extended list of video extensions for these files to be indexed properly.Example:
Extension :.mp4
Format : MPEG-TS
FileExtension_Invalid : ts m2t m2s m4t m4s tmf ts tp trp ty
Duration : 10 s 478 ms
Video:
Format : AVC
Audio:
Format : MPEG Audio
Last edited by Turok on Tue Nov 11, 2025 10:57 pm, edited 2 times in total.
Re: Within Everything find dupe of selected file (size-ext)
It shouldn't matter.But could also be the drives where the files are located (?).
It shouldn't matter.Or more likely a codecs matter?
Everything uses the Windows Property System "System.Media.Duration" property to gather the file length.
This is a 100nanosecond value.
Windows provides some default property handlers for common types, like mp4
The registered property handler can be changed.
If the Windows property system doesn't return a value, Everything will fall back to a built-in property handler for mp4 files.
For some reason the Windows property system handler is returning a 100nanosecond value with only seconds as valid.
Maybe it has something to do with the file not being a valid mp4 file.
What does the Everything "File signature" property show for your mp4 files?
Re: Within Everything find dupe of selected file (size-ext)
Right on the spot, the problem is with .mp4 extension. All the movies and tv series eps with it report .000.void wrote: Tue Nov 11, 2025 11:47 pmIt shouldn't matter.But could also be the drives where the files are located (?).
It shouldn't matter.Or more likely a codecs matter?
Everything uses the Windows Property System "System.Media.Duration" property to gather the file length.
This is a 100nanosecond value.
Windows provides some default property handlers for common types, like mp4
The registered property handler can be changed.
If the Windows property system doesn't return a value, Everything will fall back to a built-in property handler for mp4 files.
For some reason the Windows property system handler is returning a 100nanosecond value with only seconds as valid.
Maybe it has something to do with the file not being a valid mp4 file.
What does the Everything "File signature" property show for your mp4 files?
File signature for mp4 files shows: video/mp4
Re: Within Everything find dupe of selected file (size-ext)
Cool, with your help and not wanting to give you extra work not directly related to Everything I'm investigating further about this. After asking GPT to get a better clue it got me to check registry keys and there I found the .mp4 property handler is Icaros. I'll see if I can fix this by tweaking itTurok wrote: Wed Nov 12, 2025 4:12 amRight on the spot, the problem is with .mp4 extension. All the movies and tv series eps with it report .000.void wrote: Tue Nov 11, 2025 11:47 pmIt shouldn't matter.But could also be the drives where the files are located (?).
It shouldn't matter.Or more likely a codecs matter?
Everything uses the Windows Property System "System.Media.Duration" property to gather the file length.
This is a 100nanosecond value.
Windows provides some default property handlers for common types, like mp4
The registered property handler can be changed.
If the Windows property system doesn't return a value, Everything will fall back to a built-in property handler for mp4 files.
For some reason the Windows property system handler is returning a 100nanosecond value with only seconds as valid.
Maybe it has something to do with the file not being a valid mp4 file.
What does the Everything "File signature" property show for your mp4 files?
File signature for mp4 files shows: video/mp4
Re: Within Everything find dupe of selected file (size-ext)
I've tried disabling properties handling inside Icaros and created some new mp4 files. These showed milliseconds, but previously created did not. Installed a new version of Icaros but the problem persists.Turok wrote: Wed Nov 12, 2025 5:04 amCool, with your help and not wanting to give you extra work not directly related to Everything I'm investigating further about this. After asking GPT to get a better clue it got me to check registry keys and there I found the .mp4 property handler is Icaros. I'll see if I can fix this by tweaking itTurok wrote: Wed Nov 12, 2025 4:12 amRight on the spot, the problem is with .mp4 extension. All the movies and tv series eps with it report .000.void wrote: Tue Nov 11, 2025 11:47 pm
It shouldn't matter.
It shouldn't matter.
Everything uses the Windows Property System "System.Media.Duration" property to gather the file length.
This is a 100nanosecond value.
Windows provides some default property handlers for common types, like mp4
The registered property handler can be changed.
If the Windows property system doesn't return a value, Everything will fall back to a built-in property handler for mp4 files.
For some reason the Windows property system handler is returning a 100nanosecond value with only seconds as valid.
Maybe it has something to do with the file not being a valid mp4 file.
What does the Everything "File signature" property show for your mp4 files?
File signature for mp4 files shows: video/mp4![]()
GPT recommends this: "Keep Icaros but configure Everything to use its internal MP4 parser" and provides a powershell script "to precompute durations with ffprobe/MediaInfo and import them".
Is there a way to do the first without that script? (I don't trust it wont break something or hit the performance in some way).
Alternatively I can try to disable mp4 from the properties handler in Icaros but when I tried thumbnails stopped being generated and many properties were faulty in explorer. Maybe because I did not restart the process yet.
Re: Within Everything find dupe of selected file (size-ext)
Tools -> Options -> Advanced -> property_builtin_handler_priority=1"Keep Icaros but configure Everything to use its internal MP4 parser"
property_builtin_handler_priority
Re: Within Everything find dupe of selected file (size-ext)
Great, this works!void wrote: Wed Nov 12, 2025 6:00 amTools -> Options -> Advanced -> property_builtin_handler_priority=1"Keep Icaros but configure Everything to use its internal MP4 parser"
property_builtin_handler_priority
Re: Within Everything find dupe of selected file (size-ext)
Search for mp4 files:
Select all your files (Ctrl + A)
Press Ctrl + F5 to refresh indexed properties.
*.mp4Select all your files (Ctrl + A)
Press Ctrl + F5 to refresh indexed properties.
Re: Within Everything find dupe of selected file (size-ext)
Like a charmvoid wrote: Wed Nov 12, 2025 6:38 am Search for mp4 files:
*.mp4
Select all your files (Ctrl + A)
Press Ctrl + F5 to refresh indexed properties.
Thank you and your talent for providing us with this fantastic software alongside with your dedication and time to help us get the most out of it