开发者

Creating a large file from Windows' commandline

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜