Home » U++ Library support » U++ Core » FindFile::IsExecutable() [Feature request]
Re: FindFile::IsExecutable() [Feature request] [message #25719 is a reply to message #25715] |
Tue, 09 March 2010 11:14   |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
This is hard question because actually you may execute ANY file in Windows. You may rename your .exe into something like *.scr or even *.abcxyz and execute it with CreateProcess() - and it will work. There is no way to restrict using any file as executable.
So, what question you really want to answer on Windows? Is the file executable? Answer is: any file is executable.
Executable from Explorer? Then, the list from PATHEXT is not enough. There are still more executable types which are registered by Windows but not mentioned in any variables (like .scr which is heavily used by viruses).
[Updated on: Tue, 09 March 2010 11:15] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed May 14 08:26:58 CEST 2025
Total time taken to generate the page: 0.02482 seconds
|