How to create a file of a certain size
How to create a file of a certain size
When you need a file of a certain size can easily create it via the utility Fsutil
Run a command prompt as an administrator.
Enter cmd in the launch bar.
After opening the command window, type the command:
createnew fsutil file c: \ temp \ new_file.txt 1048576
After typing the above command appears on the disk c file named new_file of a predetermined size in bytes
Examples of conversion of different size to bytes:
• 1 MB = 1048576 bytes
• 100 MB = 104,857,600 bytes
• 1 GB = 1,073,741,824 bytes
• 10 GB = 10,737,418,240 bytes
• 100 GB = 107,374,182,400 bytes