Page 1 of 2
Find Files: Executable files types
Posted: 28 Aug 2012 16:19
by TheQwerty
How are the extensions for this filter determined?

Or more specifically how can I remove some?
It doesn't appear to be driven by the PathExt environment variable, nor is it listed in Preview Formats.
ExePreviewCustomExtensions allows adding extensions to the list, but my list includes a handful of extensions I don't want.
CHM as an executable?

No thanks!
Re: Find Files: Executable files types
Posted: 28 Aug 2012 16:49
by admin
It's hard-coded. No way to remove stuff here.
CHM? Isn't this executable HTML?
Re: Find Files: Executable files types
Posted: 28 Aug 2012 17:18
by TheQwerty
I have never encountered a CHM that wasn't a document intended for reading.
Maybe it can do more but to me it's no more an executable than a PDF alternative.
I feel similarly about inf and reg for that matter.
I was just a little surprised that the dialog from hitting F1 in the combo box doesn't allow editing them.
In any event it's no big deal, just piqued my curiosity.

Re: Find Files: Executable files types
Posted: 28 Aug 2012 17:39
by admin
TheQwerty wrote:I was just a little surprised that the dialog from hitting F1 in the combo box doesn't allow editing them.
In any event it's no big deal, just piqued my curiosity.

Yes, one could add that. Maybe later...
Re: Find Files: Executable files types
Posted: 29 Aug 2012 19:47
by neminem
Yeah, chm files are so not executables. Chm files are help files. Inf files are also certainly not executables. You could make an argument for reg files, I suppose.
Re: Find Files: Executable files types
Posted: 29 Aug 2012 19:59
by admin
neminem wrote:Yeah, chm files are so not executables. Chm files are help files. Inf files are also certainly not executables. You could make an argument for reg files, I suppose.
Well, check out this:
http://antivirus.about.com/od/securityt ... xtview.htm
Re: Find Files: Executable files types
Posted: 29 Aug 2012 20:18
by TheQwerty
I think that's just a poor choice of words.
That same list contains the Microsoft Office extensions and should probably include PDF, HTML, and many many more given the context. At one time it might have been okay to assume that only executable files could execute code but not anymore.
Re: Find Files: Executable files types
Posted: 29 Aug 2012 20:24
by admin
So, can anybody come up with a list of executable file extensions that everybody else can agree upon?
Re: Find Files: Executable files types
Posted: 29 Aug 2012 20:31
by TheQwerty
admin wrote:So, can anybody come up with a list of executable file extensions that everybody else can agree upon?
No, of course not.
I'd start with those defined in PATHEXT.
Mine: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PL;.PLX;.PS1;.PSC1;.AHK;.LNK
Though I'd probably drop .LNK.
From there I'm not sure what, if anything, I'd add.
Re: Find Files: Executable files types
Posted: 29 Aug 2012 20:37
by admin
PS1;.PSC1 ??? not very common
Re: Find Files: Executable files types
Posted: 29 Aug 2012 20:40
by admin
This site features XYS as an executable extension, Popularity: Average.
http://www.fileinfo.com/filetypes/executable
Re: Find Files: Executable files types
Posted: 29 Aug 2012 20:47
by nas8e9
admin wrote:PS1;.PSC1 ??? not very common
Those are PowerShell-files (Microsoft's command line automation engine), and can definitely wreak havoc. Probably most familiar to the Windows Server-admins here.
Re: Find Files: Executable files types
Posted: 29 Aug 2012 20:51
by Stefan
TheQwerty wrote:admin wrote:So, can anybody come up with a list of executable file extensions that everybody else can agree upon?
No, of course not.

Since this depends and since many use XYplorer portable...
how about to get those filetypes from the current registry? (maybe add some hardcoded too and then remove dubs)
.
Re: Find Files: Executable files types
Posted: 29 Aug 2012 21:08
by TheQwerty
admin wrote:PS1;.PSC1 ??? not very common
I never said my PATHEXT was common, but sharing what I had for comparison to others.
Besides PS1 are the PowerShell equivalence of batch files and now that Windows ships with PowerShell I think they probably should be included.
Re: Find Files: Executable files types
Posted: 29 Aug 2012 21:11
by admin
nas8e9 wrote:... and can definitely wreak havoc.
OK, I'm just compiling a list of (potentially)
dangerous file types (not sure yet if it totally coincides with executables; if yes all the better). This is what I got:
Code: Select all
.bat.cmd.com.exe.hta.jar.js.jse.lnk.pif.plx.ps1.psc1.scr.shs.vb.vbe.vbs.ws.wsf