home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35915 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  2.1 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!zaphod.mps.ohio-state.edu!uwm.edu!rutgers!uwvax!uchinews!ellis!sip1
  2. From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Executable Flag
  5. Message-ID: <1992Nov9.170406.4895@midway.uchicago.edu>
  6. Date: 9 Nov 92 17:04:06 GMT
  7. References: <BVBwTB1w164w@uuisis.isis.org>
  8. Sender: news@uchinews.uchicago.edu (News System)
  9. Reply-To: sip1@midway.uchicago.edu
  10. Organization: Dept. of Econ., Univ. of Chicago
  11. Lines: 28
  12.  
  13. In article <BVBwTB1w164w@uuisis.isis.org> evanc@uuisis.isis.org (Evan Champion) writes:
  14. >Something that has always annoyed me is that OS/2 will only run a program if 
  15. >it has a .EXE/.COM/.CMD/.BAT extension.  With no file naming requirements 
  16. >with HPFS this seems to be a needless limitation.  It really annoyed me 
  17. >today because I couldn't get KSH to run a script file until I renamed the 
  18. >script to a CMD file.  Why not just have an executable flag; it would be 
  19. >automatically turned on for any .EXE/.COM/.CMD/.BAT and would be optionally 
  20. >set for other files, much like chmod for Unix.  It shouldn't be too hard; I 
  21. >don't know about how attributes are saved with HPFS but there should be a 
  22. >way to put it either in the file attributes or extended attributes for the 
  23. >file.  This along with case sensitivity for filenames would really make my 
  24. >day.
  25.  
  26. A good idea.  (I disagree on case sensitive filenames.  The only thing
  27. case sensitivity is good for is quasi-compatibility with Unix.  If
  28. Unix had to do it all over again, I'm sure it would have case
  29. retention only.  But this issue has been beaten to death, so please
  30. don't follow up.)
  31.  
  32. One can achieve similar effect using a REXX script called, say, RUN.
  33. Then, with some clever use of extended attributes and bit of code, one
  34. could start programs without .EXE, .COM, .BAT, or .CMD extensions.
  35.  
  36. -- 
  37. Timothy F. Sipples      | The OS/2 FREQ. ASKED QUESTIONS LIST 2.0g is avail.
  38. sip1@ellis.uchicago.edu | from 128.123.35.151, anonymous ftp, in /pub/os2/all
  39. Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
  40. of Chicago, 60637       | [You picked the right President, America -- Thanks.]
  41.