Create Empty Files Of Arbitrary File Sizes In Windows

November 21st, 2012 by Charles Edge
The fsutil command in Windows can be used to create empty files of arbitrary sizes. To create a file to a path, use fsutil along with the file option, followed by create new, then the path and then the size. For example, to create a 100MB file called myfile.txt at c:\testfiles:
fsutil file createnew “c:\testfiles myfile.txt” 100000000

Tags: , , ,

Comments are closed.