Wednesday, June 15, 2011

Create a file of specified size

Windows utility "fsutil" can be used to create a file of certain size.


Fsutil file createnew

For example:

“fsutil file createnew C:\file_100MB.dat 104857600” will create a 100MB file (104,857,600B = 100MB) named “file_100MB.dat” in C drive.

No comments:

Post a Comment