作用:可以用来彻底销毁硬盘数据,防止数据被恢复的风险
//快速生成一个指定大小的文件,保存为bat文件后运行
@echo off
set /p M=请输入要生成多少Mb的文件(最大值为2047)
set /a M=1024*1024*%M%
if "%1"=="" goto space
if exist %1 del %1 >nul
echo.
fsutil file createnew %1 %M%
goto end
:space
if exist 空文件 del 空文件 >nul
echo.
fsutil file createnew 空文件%M%
:end
// 填满 C盘
// for /l %%a in (1,1,1000) do fsutil file createnew C:\temp\file%%a.txt1024000
// rd /s /q c:\temp