0
Thanks

A few words of thanks would be greatly appreciated.

Windows 7 - Create and empty file having a defined size



To create an empty file, having a defined size under Windows 7
  • Click on Start > cmd > Press CTRL + Shift + Enter to open it as Administrator
  • Enter the following command
  • fsutil file createnew [name_of_file.extension][size_in_bytes]

  • By default the file will be generated in the system32 folder.


If you want to create the file on your desktop simply add "C:\Desktop" to your command:
  • E.g: fsutil file createnew C:\Desktop\test.png 6400000
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Related

Published by . Latest update on by aakai1056.

This document, titled "Windows 7 - Create and empty file having a defined size," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).

0 Comments