Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create arbitrary binary file at the Windows 7 command line?

Tags:

windows-7

How to create arbitrary binary file at the Windows 7 command line? Without any extra installed tools, I could do this with the debug command in XP. Now in Windows 7 I am stuck. I want to type at the command line and create an arbitrary binary file. Any ideas?

like image 998
Jack Avatar asked Mar 06 '26 05:03

Jack


1 Answers

You can create a meaningless binary file with the fsutil command, e.g.

fsutil file createnew filename.bin 1000

The last parameter is the desired file size in bytes.

like image 62
J T Avatar answered Mar 08 '26 20:03

J T



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!