Showing posts with label dummy file. Show all posts
Showing posts with label dummy file. Show all posts

Tuesday, September 27, 2011

How to create large dummy file in Windows Command-Line

Sometime you might need to create a dummy file for testing or other purpose. How can you create a file with the file size you want? For example, how can you create a 1GB file for your testing?

Windows have a command line utility called Fsutil that can help you to create the respective file size you want.

The following command create a dummy file called “test.txt” with 1 GB file size. Just copy and paste into your cmd.

fsutil file createnew test.txt 1000000000