home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / msdos / programm / 2724 < prev    next >
Encoding:
Text File  |  1992-11-13  |  706 b   |  24 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!ornl!utkcs2!lambda.msfc.nasa.gov!destroyer!sol.ctr.columbia.edu!eff!news.byu.edu!ux1!fcom.cc.utah.edu!tim.src.utah.edu!tim
  3. From: tim@tim.src.utah.edu (Tim Ma)
  4. Subject: Dos redirection
  5. Message-ID: <tim.8.721617288@tim.src.utah.edu>
  6. Lines: 13
  7. Sender: news@fcom.cc.utah.edu
  8. Organization: University of Utah
  9. Date: Fri, 13 Nov 1992 01:14:48 GMT
  10.  
  11.  
  12. This may be a pretty easy question (it seems like it might be), but the 
  13. answer eludes me.
  14.  
  15. Is there anyone I can tell from within a C program whether the user has
  16. redirected the output to a file using DOS redirection (>)?  
  17.  
  18. Thanks,
  19.  
  20. Tim Ma
  21. Associate Programmer
  22. University of Utah
  23. Email:  tim@src.cppa.utah.edu
  24.