home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8982 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.5 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!canterbury.ac.nz!phys169
  2. Newsgroups: comp.os.msdos.programmer
  3. Subject: <None>
  4. Message-ID: <1992Sep2.143202.615@csc.canterbury.ac.nz>
  5. From: phys169@csc.canterbury.ac.nz
  6. Date: 2 Sep 92 14:32:01 +1200
  7. References: <1992Aug18.162657.27453@usenet.ins.cwru.edu> 
  8.  <1992Aug19.132543.7617@swlvx2.msd.ray.com> <4082@cruzio.santa-cruz.ca.us> 
  9.  <1992Aug22.181032.11678@ctr.columbia.edu> <1992Aug31.144211.574@csc.canterbury.ac.nz>
  10. Organization: University of Canterbury, Christchurch, New Zealand
  11. Lines: 40
  12.  
  13. I wrote...
  14. > .....  One affects the way you can check for a directory existing
  15. > by testing if the file dirname\.. exists, 
  16.                          ^^^^^^^^^^
  17. I think I made a mistake there, I think it was dirname\nul, and it was only
  18. DRDOS 5 that differed from MSDOS, but that's from memory.
  19.  
  20. Another difference was that DRDOS 5 treated the wildcard string "*ABC.*" as an
  21. error, but MSDOS and DRDOS 6 both treat it as "*.*" (so beware when doing
  22. something like DEL *X.*  ... it doesn't just delete filenames ending in "X"
  23. before the dot, but deletes all the files!).. That was a bug/limitation in
  24. MSDOS from the beginning which some people/programs have come to expect.
  25.  
  26. I've heard that there are lots of differences (between versions of MSDOS, as
  27. well as between DRDOS & MSDOS) in handling wildcards in the COPY command, e.g.
  28. what do you expect the following to do??
  29.  
  30.   COPY *.BAT+*.LOG *.NEW
  31.  
  32.  
  33. Another difference is that under most versions of MSDOS, the first device
  34. driver in CONFIG.SYS can look at a register and find (and modify!) the
  35. tokenised copy of the rest of the config.sys lines.  This is very undocumented
  36. but used by at least two config.sys chooser programs, which won't work under
  37. DRDOS (of course, you'd want to use DRDOS's own way of choosing options in
  38. config.sys anyway, and it might not work with later MSDOS anyway).
  39.  
  40. Another difference is that a ";" after filenames can mean the start of a
  41. password under DRDOS, but are often ignored by MSDOS.  Not very important,
  42. except some network software that allows copying of files from a VAX can take
  43. over the version numbers from VMS and they become passwords under DRDOS.
  44.  
  45. Beyond that, the differences are mainly improvements, which could possibly be
  46. viewed as incompatibilities (e.g. if you had a program called "gosub" that was
  47. referred to in a batch file, or any other filename that is now an internal
  48. command, but that's at least patchable).
  49.  
  50. I'd be interested to hear of differences lists from others.
  51.  
  52. Mark Aitchison, University of Canterbury.
  53.