Vision

Dos

Loop through file:display contents

by admin on Dec.31, 2008, under Dos

@echo off
for /f %%a in (list.txt) do (
echo “%%a”
)

Another way:

for /f “tokens=* delims= ” %%a in (list.txt) do (
echo “%%a”
)

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...