在Windows系统上快速创建大文件

问题描述:

="a 一样,快速创建一个Linux系统上的大文件 , 我想在Windows系统上快速创建一个大文件.总的来说,我认为是5 GB.内容无关紧要.最好使用内置命令或简短的批处理文件,但如果没有其他简便方法,我将接受一个应用程序.

In the same vein as Quickly create a large file on a Linux system, I'd like to quickly create a large file on a Windows system. By large I'm thinking 5 GB. The content doesn't matter. A built-in command or short batch file would be preferable, but I'll accept an application if there are no other easy ways.

fsutil file createnew <filename> <length>

其中<length>以字节为单位.

fsutil不过需要管理权限.