Pages

Thursday, 3 April 2014

Windows: Create Fixed Size File

Use the following command to create an empty file of a fixed size:

fsutil file createnew <filename> <size in bytes>

For example, to create a 1MB file:

fsutil file createnew c:\file.txt 1048576

No comments:

Post a Comment