home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!wheaton.wh!david.wheaton.edu!gmribeir
- From: gmribeir@david.wheaton.edu
- Newsgroups: comp.unix.misc
- Date: 15 Jul 92 04:16 MDT
- Subject: Re: Unix Roots of DOS?
- Sender: Notesfile to Usenet Gateway <notes@glas.apc.org>
- Message-ID: <1992Jul15.001633.6624@wheaton.wh>
- References: <1992Jul13.111139.62@news.uwyo.ed>
- Nf-ID: #R:1992Jul13.111139.62@news.uwyo.ed:-208816188:1992Jul15.001633.6624@wheaton.wh:346656428:001:1144
- Nf-From: david.wheaton.edu!gmribeir Jul 15 04:16:00 1992
- Lines: 27
-
-
- In article <aldavi01.711070028@starbase.spd.louisville.edu> aldavi01@rigel.spd.louisville.edu (Arlie Davis) writes:
- >In <1992Jul13.213002.7203@enea.se> lebo@enea.se (Lennart Boss`r) writes:
- >
- >> I also vaguely remember that the DOS 2.0 manual from Microsoft
- >> said something about DOS history. There were environment settings for
- >> using "/" instead of "\" for pathname separators and "-" instead of
- >> "/" for options. Kept that manual for sentimental reasons but have
- >> thrown it away recently.
- >
- >There is a semi-documented DOS call that allows you to set the switch
- >character. Borland C/C++ calls it "setswitchar", and it is in <dos.h>.
- >
- >I believe all of the commands internal to the DOS COMMAND.COM shell
- >_will_ correctly interpret things if you change the switch character.
- >And, surprise surprise! DOS starts printing paths with *forward* slashes.
- >(It has, however, always accepted them, switch character or no.)
- >
-
- Yes, it was too good to be left alone, so Microsoft eliminated
- this function from DOS 5. Nice guys...
-
- Glauber
- --
- Glauber Ribeiro - Wheaton College, IL (USA)
- glauber@david.wheaton.edu
-
-