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

Re: Make and .exe Files

Jakob Eriksson wrote:
Earnie Boyd wrote:

At least on NT you can execute a program without a .exe suffix but if you create a non executable file name such as a .lnk file then you're liable to crash the OS. I.E.: If you ``ln -s foo foo.exe'' what is created in reality is foo.exe.lnk and when you try to execute that, it won't work.

Hard link then. NT supports hard links, AFAIK.
``ln foo foo.exe''

NTFS supports hard links, and Cygwin makes use of that, however, FAT32 even on NT doesn't so Cygwin does some magic to make it work. However, that magic involves funny file names and file attributes that will cause CreateProcess problems.


Reply to: