Jan 28

How to: Create empty files with specific size

This is just a quick post on how to create a huge file in 2 second.

In this example I will create a 1gb file:

-Open “Command Prompt” (Start / Run / cmd / Enter)
-Use this command:

fsutil file createnew <filename> <size>

fsutil file createnew C:\1gb_files.out 1073741824

-< filename > is the name of the file
-< size > is the size of the file in bytes

1 comment

  1. Bogeys


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>