new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu