我写了一个像下面这样的批处理脚本
for -f %%a in ('dir /b') do command
此脚本适用于Windows XP,但现在我想在Windows 3.11中运行它.
它给出了语法错误; 似乎Windows 3.1的DOS不支持`for -f %% a in('command').
您能否建议我在Windows 3.1中使用哪个命令来实现同等功能?
batch-file windows-3.1
batch-file ×1
windows-3.1 ×1