Creating Files of a Specific Size

Sometimes you just need a file of a particular size for performance testing/<insert any other reason here>. fsutil can be your friend here.

To create a 4MB file named test.dat in the current directory, run the following from a command prompt:

fsutil createnew .\test.dat 4194304

and Robert’s your father’s brother.

Bookmark and Share
Leave a comment

1 Comments.

Leave a Reply


[ Ctrl + Enter ]

Trackbacks and Pingbacks:

Performance Optimization WordPress Plugins by W3 EDGE