Last active
January 3, 2016 21:19
-
-
Save koma5/8521204 to your computer and use it in GitHub Desktop.
generate 10k 1MB (1048576 bytes) files.
This file contains 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 bigFile.bat | |
set /a x=0 | |
del bigFile | |
mkdir bigFile | |
:loopname | |
fsutil file createnew bigFile\F%x%.tmp 1048576 | |
set /a x=%x%+1 | |
if %x% NEQ 10000 goto loopname | |
pause | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment