测试环境
Win7: 6.1.7601
Win10: 10.0.19045.3570
Win11: 10.0.22621.2283- @echo off
- REM 生成单行超长的文本文件
-
- echo "en8190.txt"
- (for /l %%i in (1,1,8190) do (
- set /p =A<nul
- ))>"en8190.txt"
- echo,>>"en8190.txt"
-
- echo "en8191.txt"
- (for /l %%i in (1,1,8191) do (
- set /p =A<nul
- ))>"en8191.txt"
- echo,>>"en8191.txt"
-
- echo "en1000000.txt"
- (for /l %%i in (1,1,1000000) do (
- set /p =A<nul
- ))>"en1000000.txt"
- echo,>>"en1000000.txt"
-
- echo "cn4095.txt"
- (for /l %%i in (1,1,4095) do (
- set /p =中<nul
- ))>"cn4095.txt"
- echo,>>"cn4095.txt"
-
- echo "cn4096.txt"
- (for /l %%i in (1,1,4096) do (
- set /p =中<nul
- ))>"cn4096.txt"
- echo,>>"cn4096.txt"
-
- echo "cn1000000.txt"
- (for /l %%i in (1,1,1000000) do (
- set /p =中<nul
- ))>"cn1000000.txt"
- echo,>>"cn1000000.txt"
复制代码
|