开发者

Creating a large file from Windows' commandline

开发者 https://www.devze.com 2023-03-19 21:21 出处:网络
On Mac I can create a random 5GB file like this dd if=dev/urandom of=~/random5gb bs=1000000 count=5000

On Mac I can create a random 5GB file like this

dd if=dev/urandom of=~/random5gb bs=1000000 count=5000

Is there an equivalent command in Windows XP? I want it to be able to run in a 开发者_高级运维'.bat' file that I'm creating.


Try

fsutil file createnew <filename> <length>
0

精彩评论

暂无评论...
验证码 换一张
取 消