Some while ago I wrote a how-to for the Debian. Yesterday I needed to do the same thing on Windows – create 1 GB file.
Here is how it’s done:
fsutil file createnew <1GB_file.bin> <1073741824>
<1GB_file.bin> is the filename, name it whatever you prefer
<1073741824> stands for size in bytes, Google might come in handy 🙂
Obviously it’s good idea to run it from the command line 😉
Credit goes to Patrick Cuff @ http://stackoverflow.com – Thx!