创建一个1GB的文件:
C:\>fsutil file createnew D:\testfile.txt 1073741824
--------------------------------------------------------------------------------------------------
wmic logicaldisk where caption="c:" get size,freespace,caption | findstr /v /i "caption"
------------------------------------------------------------------------------
用dd创建一个指定大小的空文件
dd if=/dev/zero of=bigfile bs=1024k count=1 seek=10000
dd if=/dev/zero of=yourfile bs=1M count=5
阅读(3703) | 评论(0) | 转发(0) |