@echo off 检查D盘是否有“主页文件” if not exist D:\index.html goto nofile 如果有“主页文件”就直接打开 :start D:\index.html goto stare 没有就下一步 :nofile 就从指定位置复制“备用文件”,到D盘,并且修改为“修复页面” copy C:\Users\Administrator\Desktop\1\修复.txt D:\修复.html 同时打开“修复页面” :start D:\修复.html 检查D盘是否有“修复页面” if not exist D:\修复.html goto nofile 如果有“修复页面”就直接打开 :start goto stare 如果没有 :nofile 就从指定位置复制“备用文件”,到D盘,并且修改为“下载页面” copy C:\Users\Administrator\Desktop\1\下载.txt D:\下载.html 同时打开“下载页面” :start D:\下载.html 复制代码
@echo off 检查D盘是否有“主页文件” if not exist D:\index.html goto nofile 如果有“主页文件”就直接打开 :start D:\index.html goto stare 没有就下一步 :nofile 就从指定位置复制“备用文件”,到D盘,并且修改为“修复页面” copy C:\Users\Administrator\Desktop\1\修复.txt D:\修复.html 同时打开“修复页面” :start D:\修复.html 检查D盘是否有“修复页面” if not exist D:\修复.html goto nofile 如果有“修复页面”就直接打开 :start goto stare 如果没有 :nofile 就从指定位置复制“备用文件”,到D盘,并且修改为“下载页面” copy C:\Users\Administrator\Desktop\1\下载.txt D:\下载.html 同时打开“下载页面” :start D:\下载.html