
CODE: [Copy to clipboard][ Last edited by ccwan on 2006-12-18 at 01:42 AM ]dir c: >dir.txt
findstr /c:"可用字节" dir.txt >temp.txt
for /f "tokens=3,4,5,6,8* delims=, " %%i in (temp.txt) do set/a freesize=%%i%%j%%k/1024
if %freesize% lss 800 goto end
cd/d C:
cd "C:\Program Files\WinRAR"
WINRAR x i:\time.rar c:\1\
pause
:end
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |