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