[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[代码合集] 新年用的批处理

本帖最后由 1152 于 2021-5-16 19:22 编辑

保存为XXX.bat或XXX.cmd即可
  1. @echo off
  2. echo 正在准备文件...
  3. md zfwj
  4. cd zfwj
  5. echo msgbox "祝你",4096>0.vbs
  6. echo msgbox "福如东海",4096>1.vbs
  7. echo msgbox "寿比南山",4096>2.vbs
  8. echo msgbox "吉祥如意",4096>3.vbs
  9. echo msgbox "福泰安康",4096>4.vbs
  10. echo msgbox "幸福美满",4096>5.vbs
  11. echo msgbox "万事如意",4096>6.vbs
  12. echo msgbox "风调雨顺",4096>7.vbs
  13. echo msgbox "五谷丰登",4096>8.vbs
  14. echo msgbox "人寿年丰",4096>9.vbs
  15. echo msgbox "凤鸣朝阳",4096>10.vbs
  16. echo msgbox "板桥丁竹",4096>11.vbs
  17. echo msgbox "气若幽兰",4096>12.vbs
  18. echo msgbox "泽如时雨",4096>13.vbs
  19. echo msgbox "澄心清神",4096>14.vbs
  20. echo msgbox "怡然自乐",4096>15.vbs
  21. echo msgbox "鹤鸣九皋",4096>16.vbs
  22. echo msgbox "云兴霞蔚",4096>17.vbs
  23. echo msgbox "百川归海",4096>18.vbs
  24. echo msgbox "春和贻荡",4096>19.vbs
  25. echo msgbox "百卉含英",4096>20.vbs
  26. echo msgbox "枕流漱石",4096>21.vbs
  27. echo msgbox "鸢飞鱼跃",4096>22.vbs
  28. echo msgbox "冰壶秋月",4096>23.vbs
  29. cls
  30. echo 开始!
  31. for /l %%i in (0,1,23) do (
  32. start %%i.vbs
  33. )
  34. cd C:%HOMEPATH%\Desktop
  35. taskkill /f /t /im wscript.exe 2>nul >nul
  36. rd /s /q zfwj
复制代码

返回列表