Article View: comp.sys.ibm.pc.misc
Article #10144Re: How to create a "more" batch file?
From: Iskandar Taib
Date: Fri, 25 Dec 1992 20:42
Date: Fri, 25 Dec 1992 20:42
43 lines
2038 bytes
2038 bytes
In article <1992Dec14.162702.9385@iscsvax.uni.edu> kraai4712@iscsvax.uni.edu writes: >Here's how to fix it. > >1) Make sure that your MORE.BAT is ahead of your MORE.COM in your PATH. >2) Give your MORE.BAT the full path to MORE.COM. > >For example: > >MORE.BAT >----------------------------------- >C:\DOS\MORE < %1 > >Of course this still wouldn't work of C:\DOS was your current working >directory, it would get the MORE.COM before it began searching the path. > >To combat these problems, it would suffice to create a batch file with a >different name than MORE, so there wouldn't be any danger of tripping the >MORE.COM or of entering some non-ending recursion in a batch file. > >If you want a way to type multiple filenames with pauses in-between, let me >know and I'll put it together for you. It involves some intentional batch-file >recursion and is IMHO, very interesting. It's exposed in the User-to-User >column of a recent PC Magazine. Hmmmm Could one perhaps rename more.com to nomore.com (9-))? Then your more.bat would read: nomore < %1 (with c:\dos on the path of course...) -- ------------------------------------------------------------------------------- Iskandar Taib | The only thing worse than Peach ala Internet: NTAIB@SILVER.UCS.INDIANA.EDU | Frog is Frog ala Peach Bitnet: NTAIB@IUBACS !
Technical Details
Message-ID:
<Bzu1Io.42p@usenet.ucs.indiana.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!silver.ucs.indiana.edu!ntaibReferences:
<1992Dec11.235700.19707@mnemosyne.cs.du.edu> <gilligan.724122440@cs1.bradley.edu> <1992Dec14.162702.9385@iscsvax.uni.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.misc Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!silver.ucs.indiana.edu!ntaib From: ntaib@silver.ucs.indiana.edu (Iskandar Taib) Subject: Re: How to create a "more" batch file? Message-ID: <Bzu1Io.42p@usenet.ucs.indiana.edu> Sender: news@usenet.ucs.indiana.edu (USENET News System) Nntp-Posting-Host: silver.ucs.indiana.edu Organization: Indiana University References: <1992Dec11.235700.19707@mnemosyne.cs.du.edu> <gilligan.724122440@cs1.bradley.edu> <1992Dec14.162702.9385@iscsvax.uni.edu> Distribution: na Date: Fri, 25 Dec 1992 20:42:24 GMT Lines: 43