[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: darcs vs tla

From: John A Meinel
Subject: Re: [Gnu-arch-users] Re: darcs vs tla
Date: Thu, 18 Nov 2004 16:33:13 -0600
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

Robert Collins wrote:
On Thu, 2004-11-18 at 15:59 -0600, John A Meinel wrote:

Does Windows literally only run files with a .exe extension?  I haven't
used Cygwin or Windows in years.

Windows will only run files with a .exe, .com, .bat, maybe a couple more. Windows determines what is executable from the extension (it has no X bit)

It has an X bit. And the system can run any arbitrarily named file.
However.. the shells both UI and command line use a registry of file
extensions to choose an interpreter, rather than a hashbang and file


Can you mark a .exe as non-executable? I understand that you have a registry of associations, but I don't think you can mark a file executable without an associated registry entry, or mark it non-executable with one. (Hence no X bit, just a global is associated, is not associated.)

I could be wrong, and ACL's might have something about whether or not this item can be executed by a person. I know they have read/write. But I certainly don't think you can say "double clicking this file will not run word, but opening word and opening this file will work". I'm not sure about .exe/com/bat etc.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]