Question: How can I create a file of a certain size in Windows XP?
Answer: If you need to create a file of a certain size and the file contents don't matter, you can use the fsutil command as in the following example:
fsutil file createnew d:\temp\1mbfile.txt 1048576
This creates a 1Mb file named 1mbfile.txt in the d:\temp folder. Just substitute the filename and size (in bytes) that you require.
This article written by Stephen Chapman, Felgall Pty Ltd.