In the same vein as Quickly create a large file on a Linux system,
I\'d like to quickly create a large file on a Windows system. By large I\'m thinking 5 GB.
You can use the Sysinternals Contig tool. It has a -n switch which creates a new file of a given size. Unlike fsutil, it doesn't require administrative privileges.