返回列表 发帖
本帖最后由 hlzj88 于 2016-11-14 23:02 编辑
@echo off
if exist c:\2.txt goto anzhuang2
if exist c:\3.txt goto anzhuang3
if exist c:\4.txt goto anzhuang4
if exist c:\5.txt goto anzhuang5
:anzhuang1
echo.>c:\2.txt
你的程序
重启
:anzhuang2
echo.>c:\3.txt
del c:\2.txt
你的程序
重启
:anzhuang3
echo.>c:\4.txt
del c:\3.txt
你的程序
重启
:anzhuang4
echo .>"C:\5.txt"
del c:\4.txt
你的程序
重启
:anzhuang5
echo  五个安装完  本文本你要手动删除>"C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\5.txt"
你的程序
del c:\5.txt
del %0COPY
大致流程是这样,,放入启动里
目的,学习批处理

TOP

返回列表