home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / misc / 2994 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.6 KB

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