Create large dummy file

By | March 9, 2015

Fsutil.exe is a built in filesystem tool that is useful to do file system related operations from command line. We can create a file of required size using this tool.

syntax to create a file:

fsutil file createnew filename length
(length is in bytes)

For example, to create a file called test.txt  and of 1GB in size:

fsutil file createnew test.txt 1073741824