[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
  1. @echo off
  2. set info=互助互利,支付宝扫码头像,感谢打赏
  3. rem 有问题,可加QQ956535081及时沟通
  4. title %info%
  5. ipconfig|findstr /li /c:"Default Gateway" /c:"默认网关">"%tmp%\t.t"
  6. type "%tmp%\t.t"|findstr "\<10\.5\.1\.254\>"&&goto p1
  7. type "%tmp%\t.t"|findstr "\<10\.6\.1\.254\>"&&goto p2
  8. type "%tmp%\t.t"|findstr "\<10\.7\.1\.254\>"&&goto p3
  9. echo;no match
  10. goto end
  11. :p1
  12. start "" "D:\xxx\程序1.exe"
  13. goto end
  14. :p2
  15. start "" "D:\xxx\程序2.exe"
  16. goto end
  17. :p3
  18. start "" "D:\xxx\程序3.exe"
  19. :end
  20. echo;%info%
  21. pause
复制代码
提供bat代写,为你省时省力省事,支付宝扫码头像支付
微信: unique2random

TOP

返回列表