CODE: [Copy to clipboard]for /f "tokens=3 delims= " %%i in ('dir d: /-c^|findstr "可用字节"') do set free=%%i