linux下:

生成指定大小的空文件

dd if=/dev/zero of=M.file bs=1M count=50

生文件名为 M.file的空文件,写 50 次,每次写1M

http://www.cnblogs.com/bluebbc/archive/2012/08/03/2621284.html

Window下:

生成任意大小的文件:命令提示符下

fsutil file createnew

用法 : fsutil file createnew <filename> <length:Byte>

例如 : fsutil file createnew C:\testfile.txt 1000

原文:

http://www.360doc.com/content/12/0529/18/1862598_214556247.shtml

http://tsky.cc/post/fsutil-rapid-creating-any-size-file.html

相关文章:

  • 2022-12-23
  • 2021-11-18
  • 2021-11-10
  • 2021-09-06
  • 2021-05-30
  • 2021-09-04
  • 2021-09-29
  • 2021-12-06
猜你喜欢
  • 2021-11-05
  • 2021-09-30
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2022-01-10
  • 2021-12-06
相关资源
相似解决方案