Windows batch creates files of fixed size and fills them with random characters

Windows

1. Download the FileOpr document to the desktop
https://download.csdn.net/download/qq_44451165/86248011
insert image description here
2. Use the win+R command to run the command prompt
insert image description here
3. Select the corresponding version according to whether the computer is 32-bit or 64-bit, and enter to the corresponding folder. The figure below takes 64-bit as an example.
insert image description here
4. Create 10 1MB files named test in soft on D drive

C:\Users\DELL\Desktop\FileOpr\Windows\FileOpr x86_64bit>FileOpr -C -p D:\soft -f test.txt -l 1M -c 10

insert image description here
5. You can see the created 10 files in the soft folder of the D drive, and there are random characters in the files.
insert image description here

Guess you like

Origin blog.csdn.net/qq_44451165/article/details/125907470