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.
Check the Windows Server 2003 Resource Kit Tools. There is a utility called Creatfil.
CREATFIL.EXE -? : This message -FileName -- name of the new file -FileSize -- size of file in KBytes, default is 1024 KBytes
It is the similar to mkfile on Solaris.