1.

Solve : batch file input from file?

Answer»

I have a file 'input.txt' in witch is written 'hello'.
I want to have a batch that write 'hello' on the screen.

This is my solution (doesn't work!!)

batch1.bat:

batch2 < input.txt


batch2.bat:

echo %1
HAY,
TO FIND SPECIFIC WORD IN SPECIFIC FILE WITH BATCH AND TYPE IT WRITE THIS:
BATCH1.BAT:

FIND /I "HELLO" INPUT.TXT

THIS IS ALL. YOU DO NEED TWO BATCHES.

OR TO SIMPLY WRITE HELLO USE "ECHO: HELLO" IN BATCH.1. Why are you REVIVING very OLD threads?
2. Why are you using all capital letters, which is the equivalent of shouting, and is very irritating?



Discussion

No Comment Found