XP: Create a file of arbitrary size with fsutil

Contributor Icon Contributed by qmchenry  
Tag Icon Tagged: Windows  

The fsutil command line utility has a number of useful diagnostic and configuration tools for the Windows filesystem. Making a file of an arbitrary size, possibly very large, with this utility is very easy. Making a 1GB file with other methods (wordpad?) can be .. tedious.


To create a 12000 byte file called file.out, use this command from the command line:

fsutil file create file.out 12000

To create a 10GB file, use:

fsutil file create bigfile.out 10737418240

 

2 Comments -


  1. Anonymous said on September 21, 2010

    web hosting gucci handbagsWe are Fendi
    louis vuitton bags ecommerce lv designerWe are
    Louis Vuittonreplica handbags group with overweb hosting
    Fendi the finestlouis vuittonlouis vuitton bags

  2. Amazing DOS Wizard said on November 10, 2011

    create is an invalid parameter.
    i think you meant createnew

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -