本帖最后由 zaqmlp 于 2019-4-13 16:15 编辑
打包个文件发出来吧- @echo off
- set info=互助互利,支付宝扫码头像,感谢赞助
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- start mshta VBScript:Execute("msgbox(""%info%""):close")
- cd /d "%~dp0"
- set "文件夹=D:\2F"
- md "%文件夹%\结果" 2>nul
- powershell ^
- dir -liter '%文件夹%' *.txt^|?{$_ -is [System.IO.FileInfo]}^|%%{^
- write-host $_.FullName;^
- $text=@(gc $_.FullName);^
- $text[1]='b3lyp/6-311g pop=nboread';^
- $text[17]='$NBO NAOMO $END';^
- [IO.File]::WriteAllLines(('%文件夹%\结果\'+$_.Name), $text[0..18], [Text.Encoding]::Default);^
- }
- pause
复制代码
|