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>
精彩评论