home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / setup / 2022 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.os.ms-windows.setup
  2. Path: sparky!uunet!rei2!fox
  3. From: fox@rei.com (Fuzzy Fox)
  4. Subject: Re: Can't pipe to NUL in a dos session - Help please!
  5. Message-ID: <1992Nov18.175648.17461@rei.com>
  6. Date: Wed, 18 Nov 1992 17:56:48 GMT
  7. References: <168A28014.ANAVARRO@vm.poly.edu>
  8. Organization: Recognition Equipment, Inc.
  9. Lines: 21
  10.  
  11. ANAVARRO@vm.poly.edu (Anthony F. Navarro) writes:
  12.  
  13. >When in a DOS session, be it at the command line or in a batch file,
  14. >if something is piped to NUL ( i.e. dir >NUL ) i get a "sharing violation
  15. >reading drive c - Abort, retry, fail" error.  I get this at the command
  16. >line and in my batch files.
  17.  
  18. It's possible that in your AUTOEXEC you loaded a TSR and piped its
  19. output to NUL in order to avoid seeing the startup text on the screen.
  20. Since the TSR never exits, it may not have closed the standard output
  21. device (NUL, in this case), and thus further attempts to modify that
  22. device result in a sharing violoation.
  23.  
  24. I don't know if this can actually happen, but it doesn't hurt to go
  25. look.
  26.  
  27. -- 
  28. #ifdef TRUE        | Fuzzy Fox (a.k.a. David DeSimone)       fuzzy@netcom.com
  29. #define  TRUE   0  |
  30. #define  FALSE  1  |  "You have been recruited by the Star League to defend
  31. #endif             |     the Frontier against Xur and the Kodan Armada."
  32.