home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 9034 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.2 KB  |  32 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!dcatlas!joet
  3. From: joet@dcatlas.dot.gov (Joe Trott)
  4. Subject: Re: Any idea why NUL is busy inside of windows?
  5. Message-ID: <1992Sep3.202411.3690@dcatlas.dot.gov>
  6. Organization: U.S Dept. of Transportation
  7. References: <6126@transfer.stratus.com>
  8. Date: Thu, 3 Sep 1992 20:24:11 GMT
  9. Lines: 21
  10.  
  11. leadfoot@bigbootay.sw.stratus.com (Mark Curtis) writes:
  12.  
  13. >I can not get MS's C7 pwb to compile inside a dos window.  It gets
  14. >a sharing violation on the dev NUL.  NUL is used to throw away
  15. >unwanted output.  Outside of windows all is fine, but inside a dos
  16. >window any write accesses to NUL produce share violations.
  17.  
  18. >copy \autoexec.bat nul               inside a dos window causes A/R/F
  19. >                                     error message.  PWB displays an
  20. >                                     error prompt and aborts.
  21.  
  22. It is hard to resist thinking that this is an act of self preservation on
  23. the part of Windows.  Only by plugging up NUL can it prevent itself from
  24. being sucked into the void where it belongs.
  25.  
  26. (Sorry...just got carried away for a moment...)
  27.  
  28. Seriously, do you need more file handles?  Just a wild guess...
  29.  
  30. -JTT
  31.  
  32.