2013年9月15日 星期日

利用cmd快速建立空白的大上傳用測試檔案

fsutil file createnew <file_name> <file_size_in_kBs>

例如
fsutil file createnew 100m 104857600

1個1KB的檔案大小是 1 x 1024 = 1024
1個1MB的檔案大小是 1 x 1024 x 1024 = 1048576
1個100MB的檔案大小是 10 x 1024 x 1024 = 104857600
1個1GB的檔案大小是 1 x 1024 x 1024 x 1024 = 1073741824

沒有留言:

張貼留言