联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
for %a in (c: d: e: f<img src="images/smilies/face-laugh.png" align="absmiddle" border="0"> do @dir %a\ | find "bytes free"
O:\old\tool>for %a in (c: d: e: f do @dir %a\ | find "bytes free" 此时不应有 |。
O:\old\tool>for /f "tokens=3" %%a in ('dir /-c c:\') do set /a freesize=%%a/1048576 此时不应有 %%a。
O:\old\tool>for /f "tokens=3" %%a in ('dir /-c c:\^|find "可用字节"') do set /a freesize=%%a/1048576 此时不应有 %%a。
thinks all