home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / msdos / programm / 3254 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.2 KB

  1. Xref: sparky alt.msdos.programmer:3254 comp.os.msdos.misc:7219 comp.os.msdos.programmer:12487
  2. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!gatech!destroyer!news.iastate.edu!iscsvax.uni.edu!kraai4712
  3. From: kraai4712@iscsvax.uni.edu
  4. Newsgroups: alt.msdos.programmer,comp.os.msdos.misc,comp.os.msdos.programmer
  5. Subject: Re: Batch files -- Exposition
  6. Message-ID: <1993Jan27.084458.10207@iscsvax.uni.edu>
  7. Date: 27 Jan 93 08:44:58 -0600
  8. References: <1993Jan24.135115.10741@gmuvax2.gmu.edu> <1993Jan25.134613.1@csc.canterbury.ac.nz> <1993Jan25.102845.10144@iscsvax.uni.edu>
  9. Organization: University of Northern Iowa
  10. Lines: 30
  11.  
  12. In article <1993Jan25.102845.10144@iscsvax.uni.edu>, kraai4712@iscsvax.uni.edu writes:
  13. > In article <1993Jan25.134613.1@csc.canterbury.ac.nz>, cctr132@csc.canterbury.ac.nz (Nick FitzGerald, PC Software Consultant, CSC, UoC, NZ) writes:
  14. >> Believe it or not, EDLIN (that most ghastly of DOS "utilities") may be
  15. >> the answer to your problem.  Its (sole ?) virtue lies in the fact that
  16. >> it reads from stdin, so can be driven by a script file.
  17. >> 
  18. >> I've never used it in this manner (I've never used full stop, he adds
  19. >> proudly  8-) ), but have seen some fiendishly clever batches in PC Mag
  20. >> based (in part) on this.
  21. > I have.  If an expository is generally desired, I'll post.  Let me know.
  22. > --jim
  23.  
  24. Rather than composing something, I'll refer you to a comprehensive expository
  25. on the topic of redirection and it's use to manipulate programs such as EDLIN. 
  26. In Simtel20 or any of its mirrors, in the MSDOS INFO directory, you will find a
  27. file called REDIRECT.ZIP, written by Jan van Hulten in 1990.  The file unzips
  28. to 600+ lines, so I hesitate to post it directly to NEWS.
  29.  
  30. While this only goes over redirection, there are other aspects such as
  31. honest-to-goodness plain-vanilla-DOS string manipulation, counting and simple
  32. arithmetic which deserve a similar treatment.  These have shown up in PC
  33. Magazine's User-to-User column over the last couple of years.
  34.  
  35. If there's anyone who can't get it from Simtel20 or one of its mirrors,  e-mail
  36. me and I'll send it, please specify uuencoded zip (13k) or straight ASCII (24k).
  37. Offer good until Feb. 3.
  38.  
  39. --jim
  40.