Midland (432) 242-2700 | Odessa (432) 363-5200

Quickly make test files within Windows

This tip is for our geekier friends.

No need to download a test file ever again. Open an administrative command prompt and run the following command:

fsutil file createnew (path\and\filename.ext) (size in bytes)

So to make a 500mb test file, run:

fsutil file createnew c:\temp\500mb.tst 524288000

That’s it – you’re ready to go. Here are some quick references:

100 MB = 104857600 bytes

fsutil file createnew c:\temp\500mb.tst 104857600


1 GB = 1073741824 bytes

fsutil file createnew c:\temp\1gb.tst 1073741824


10 GB = 10737418240 bytes

fsutil file createnew c:\temp\10gb.tst 10737418240