- @echo off
- set info=互助互利,支付宝扫码头像,感谢打赏
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~d0"
- set "txtfile=你的文本.txt"
- powershell -NoProfile -ExecutionPolicy bypass ^
- $enc=[Text.Encoding]::Default;^
- $text=[IO.File]::ReadAllText('%txtfile%',$enc);^
- $c=[regex]::matches($text,'[\u4e00-\u9fa5]');^
- $n=10000001;^
- foreach($i in $c){^
- $folder=$n.toString().Substring(2)+$i.value;^
- [void](md $folder -force);^
- $n++;^
- };^
- echo;%info%
- pause
复制代码
|