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

Tech & Security Blog

April 27, 2023
Find more like this in Advice and Help | Tech Tips

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

 Westechs LLC

3001 W Loop 250 N
Suite C105-324
Midland, Texas 79705

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

(888) 726-6222 Toll-Free

Privacy Policy | Careers | Service Status | Become a Vendor

Copyright 2026 Westechs LLC - All Rights Reserved
Westechs is licensed by the state of Texas for security services - License Number B20675