How To: Create Files Of A Specific Size

No, not rodents of unusual size…

…a file of a specific size.  Where would you use this?

·         Testing e-mail attachment size limits

·         Testing file transfer speeds

·         Deliberately filling a counterfeit Chinese flash drive to examine the file write “looping” behavior

It’s quick & easy to do this… just fire up an Administrative Command Prompt and type in the following:

fsutil file createnew [Filename] [Size in Bytes]

Example:

Happy testing!

views