This is a simple Batch File tool to easily create files of your desired size. If this tool doesn't seem to work, ensure you are running it in elavated/administrator mode
Created
June 10, 2018 02:05
-
-
Save Richienb/0393f04b10ba9c2395cf3dbe911e660d to your computer and use it in GitHub Desktop.
Large File Creation Tool In A Batch File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
title Large File Creation Tool | |
cls | |
echo If this tool doesn't seem to work, ensure you are running it in elavated/administrator mode | |
echo Press any key to continue | |
pause>nul | |
echo. | |
:start | |
set /p name=Enter the name or the path of the new file: | |
set /p size=Enter the file size of the new file in bytes: | |
echo. | |
echo Creating file... | |
fsutil file createnew "%name%" %size% | |
echo Creation complete | |
echo. | |
echo Press any key to create another file | |
echo Otherwise, close this window | |
pause>nul | |
echo. | |
goto start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment