Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Mindtraveller is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Format(Time time, bool seconds) problem
Next Topic: CParser enhancements
Goto Forum:
  


Current Time: Wed May 14 05:02:37 CEST 2025

Total time taken to generate the page: 0.01342 seconds