create empty file with specific size

To create 1MB file type in:
fsutil file createnew FileName Size

where size is calculated:
1MB = 1024 * 1024 = 1048576

so

fsutil file createnew C:tempfilename 1048576

Leave a Reply

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

sixteen − two =

This site uses Akismet to reduce spam. Learn how your comment data is processed.