- Posted by Jacques Deschenes <desja at GLOBETROTTER.QC.CA> Jun 14, 1998
- 1793 views
At 22:47 14-06-98 +0300, you wrote: >hello >my name is erez and i'm new to this list. >i had some problems in writing a batch file, it goes like this: >i'm using ms-dos 6.2 ,i need to write a file whitch uses a for loop to type all >the txt in my disk on the screen using a pipeline. after every screen is full i >need to clrscr and pause >i tried :::: for %%f in (*.txt) do type %%f | more > pause > cls >it didnot stoped ,please tell me how to use the pipeline or the "><>>" signes >thanx > > goscar at ibm.net > You should put the 3 command in a separated file that you call for %%f in (*.txt) do call page.bat %%f page.bat will containt the following 4 lines @echo off type %1|more pause cls Jacques Deschenes Baie-Comeau, Quebec Canada desja at globetrotter.qc.ca