Thursday, June 23, 2022

How to create 100 files in command prompt

Open command prompt

Create 100 files

 for /l %a in (1 1 100) do type nul > "MyDoc-%a.txt"


Create 1000 files

 for /l %a in (1 1 1000) do type nul > "MyDoc-%a.txt"


Create 10000 files

 for /l %a in (1 1 10000) do type nul > "MyDoc-%a.txt"

No comments:

Post a Comment