Sysadminsblog.com Anything for sysadmins!

2Feb/110

Creating a file of a certain size

Sometimes you just need a file that takes up space. To test transfer speeds, file size issues, etc. The way to do this is to use fsutil.

fsutil file createnew <name.ext> <size in bytes>

You now have a file that is exactly the size that you need it to be.

Be Sociable, Share!

Enjoy this article?

Consider subscribing to our rss feed!

Posted by Mischa Oudhof

Filed under: Other Leave a comment
Comments (0) Trackbacks (0)
  1. Additional way to do the same:
    http://www.curuit.com/how-to-create-file-for-a-desired-file-size-2008040963/


Leave a comment

No trackbacks yet.