windows-3.1

For loop in Windows 3.1 DOS

i have wrote a batch script like below for -f %%a in ('dir /b') do command This script works in Windows XP but now I want to run it in Windows 3.11. It gives a syntax error; it seems like Windows 3.1's DOS not support `for -f %%a in ('command'). Can you suggest what command can I use in Windows 3.1 to achieve equivalent functionalit...

how to read from a file in batch?

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? ...

Windows 3.1 / 95 emulator for Windows XP

Is there a Windows 3.1 / 95 emulator for Windows XP? ...