Quickly create large file on a Windows system

 Thank to: https://stackoverflow.com/


fsutil file createnew <filename> <length>

where <length> is in bytes.

For example, to create a 1MB (Windows MB or MiB) file named 'test', this code can be used.

fsutil file createnew test 1048576

fsutil requires administrative privileges though.

Comentarios

Entradas populares de este blog

Comando FOR para archivos BAT

How To Configure iSCSI Initiator on Ubuntu 22.04|20.04

How to connect two Asterisk PBXs using a SIP Peer/User Trunk Pairing