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