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

Configuración de Hairpin NAT (VIP)

PNETLab installation / adding Huawei AR Router Image

Metadata Cleanup Using NTDSUTIL in Windows Server 2008 R2