Creating a large file from the Windows command line

On Mac, I can create a random 5 GB 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 work in the .bat file that I create.

+6
source share
1 answer

Try

 fsutil file createnew <filename> <length> 
+5
source

Source: https://habr.com/ru/post/892476/


All Articles