Selecting an application

Yates, Glen JAMES.G.YATES at saic.com
Wed May 7 10:48:00 EDT 2003


This is just plain false, never rely on the existence or non-existence of a
file extension to determine whether a file is executable or not, as files
can be named whatever you want, and changing the name obviously (or perhaps
not so obviously for windows lusers) has no effect on the file itself.

As anecdotal evidence, I have a friend who gives all executable files (apps)
he creates a .x extension to signify (to him) they are executable. I've also
seen .bin, .exe and .app

-Glen

> Yennie at aol.com wrote:
> 
> > I should add... I've never seen a UNIX app *with* a file 
> extension, so it may
> > work to check for a combination of executable privileges 
> _and_ no file
> > extension. Generally a proper script will be executable but 
> end with .sh, .pl,
> > .mt, .php, etc, although the OS doesn't enforce this, while 
> the actual app
> > will have no file extension.
> 
> That was the rule I was about to work with, but just to be 
> safe: can you
> think of any other file types in addition to apps that have 
> no extension?
> 
> -- 
>  Richard Gaskin 
>  Fourth World Media Corporation
>  Developer of WebMerge 2.2: Publish any database on any site
>  ___________________________________________________________
>  Ambassador at FourthWorld.com       http://www.FourthWorld.com
>  Tel: 323-225-3717                       AIM: FourthWorldInc
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
> 



More information about the metacard mailing list