After reading the heading of this post you may have thought about why we need to create a large file quickly. There are some reasons! For example when you want to test the data transfer speed or want to check the speed of a program with a large file, you may need a file of a specific size quickly.
Here is an easy batch file to easily let you create a file of size you want quickly! This batch file doesn't allow to create very big files like 100GB. Lets get to the batch file right away!
Here is the source code for the batch file. Copy the code, paste into notepad and save with a .bat extension and you are done!
After that the first thing I have to remind you is that you need to run the batch file as administrator for it to work. So always right-click the batch file and select Run as administrator to use it. It will remind you if you forget!
When you open the batch file with administrator privileges it will prompt you to enter the file size in Megabytes. Enter the size you want to press Enter. And...Boom...there is a file of the size specified on your desktop!
I hope you liked this post. If you did then remember to press the like button and share it with your friends. Also if you have any comments or complaints don't hesitate to leave them in the comments.
No comments: