How to Create a Dummy Test File of Any Size in Windows

Аватар автора
Python для всех
If you need to create an empty blank file for test purposes but need it to be a certain size or a really large file, then it&easy to do so via the command line. All you need to do is use the fsutil command and specify the path, file name and file size in bytes. Here are the samples and sizing cheat sheet from the video. fsutil file createnew "c:userstoddsdesktop1GB Test File" 1073741824 fsutil file createnew "c:userstoddsdesktop100MB Text File.txt" 104857600 1 MB = 1048576 bytes 100 MB = 104857600 bytes 1 GB = 1073741824 bytes 10 GB = 10737418240 bytes 100 GB =107374182400 bytes 1 TB = 1099511627776 bytes 10 TB =10995116277760 bytes Check out our book (Computers Made Easy) that is designed to take your computer skills to the next level!

0/0


0/0

0/0

0/0