Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c    |    Meh, in C you gotta define EVERYTHING    |    243,242 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 242,675 of 243,242    |
|    Michael Sanders to Keith Thompson    |
|    Re: srand(0)    |
|    01 Jan 26 07:23:06    |
      From: porkchop@invalid.foo              On Wed, 31 Dec 2025 16:34:44 -0800, Keith Thompson wrote:              > [...]       >       > It creates executables with a ".exe" suffix,       > but plays some tricks so that "foo.exe" also looks like "foo".              Small aside... Minus the suffix, path in order of search       is (if i recall correctly):              1. an associated 'opener' if any (can be defined by associating        suffix .foo with notepad.exe or whatever, also inherits the        calling app's icon)              2. in memory 'alias' via script/batch (set var=foo)              3. current folder              4. system path              but... this also depends on %COMSPEC% ($SHELL in Windows) typically:              powershell.exe       cmd.exe       command.exe       user defined (like perl.exe for .pl or "busybox sh" for .sh)              --       :wq       Mike Sanders              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca