home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / ibm / pc / misc / 16145 < prev    next >
Encoding:
Text File  |  1992-12-25  |  1.9 KB  |  57 lines

  1. Newsgroups: comp.sys.ibm.pc.misc
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!silver.ucs.indiana.edu!ntaib
  3. From: ntaib@silver.ucs.indiana.edu (Iskandar Taib)
  4. Subject: Re: How to create a "more" batch file?
  5. Message-ID: <Bzu1Io.42p@usenet.ucs.indiana.edu>
  6. Sender: news@usenet.ucs.indiana.edu (USENET News System)
  7. Nntp-Posting-Host: silver.ucs.indiana.edu
  8. Organization: Indiana University
  9. References: <1992Dec11.235700.19707@mnemosyne.cs.du.edu> <gilligan.724122440@cs1.bradley.edu> <1992Dec14.162702.9385@iscsvax.uni.edu>
  10. Distribution: na
  11. Date: Fri, 25 Dec 1992 20:42:24 GMT
  12. Lines: 43
  13.  
  14. In article <1992Dec14.162702.9385@iscsvax.uni.edu> kraai4712@iscsvax.uni.edu writes:
  15.  
  16. >Here's how to fix it.
  17. >
  18. >1)  Make sure that your MORE.BAT is ahead of your MORE.COM in your PATH.
  19. >2)  Give your MORE.BAT the full path to MORE.COM.
  20. >
  21. >For example:
  22. >
  23. >MORE.BAT
  24. >-----------------------------------
  25. >C:\DOS\MORE < %1
  26. >
  27. >Of course this still wouldn't work of C:\DOS was your current working
  28. >directory, it would get the MORE.COM before it began searching the path.
  29. >
  30. >To combat these problems, it would suffice to create a batch file with a
  31. >different name than MORE, so there wouldn't be any danger of tripping the
  32. >MORE.COM or of entering some non-ending recursion in a batch file.
  33. >
  34. >If you want a way to type multiple filenames with pauses in-between, let me
  35. >know and I'll put it together for you.  It involves some intentional batch-file
  36. >recursion and is IMHO, very interesting.  It's exposed in the User-to-User
  37. >column of a recent PC Magazine.
  38.  
  39. Hmmmm
  40.  
  41. Could one perhaps rename more.com to nomore.com (9-))? Then 
  42. your more.bat would read:
  43.  
  44.  
  45. nomore < %1
  46.  
  47. (with c:\dos on the path of course...)
  48.  
  49.  
  50.  
  51.  
  52. -- 
  53. -------------------------------------------------------------------------------
  54. Iskandar Taib                          | The only thing worse than Peach ala
  55. Internet: NTAIB@SILVER.UCS.INDIANA.EDU |    Frog is Frog ala Peach
  56. Bitnet:   NTAIB@IUBACS                 !
  57.