how to read from a file in batch and set it as variable under MSDos 6.22 (windows 3.11) i have tried
set /p var= < text.txt
have also tried
for /f %%a in (text.txt) do (command)
both is work only in windows xp, can anybody suggest in windows 3.11?