XP: Create a file of arbitrary size with fsutil

Contributor Icon Contributed by qmchenry Date Icon April 14, 2004  
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

Previous recipe | Next recipe |
 
  • Anonymous
    fsutil file createnew file.out 12000
blog comments powered by Disqus