|
|
5#

楼主 |
发表于 2010-10-27 19:01:39
|
只看该作者
谢谢
楼上的大大
我用的
@echo off
echo.
echo # 解压完成! 是否执行 Init.cmd 初始化?
:init
set input=
set /p input= -^> 请选择(y/n):
if /i "%input%"=="n" goto end
if /i not "%input%"=="y" goto init
call Init.cmd
:end
title %ComSpec%
start /b del setup.cmd ^& exit /b
这个是在PHPNOW的安装文件里面找出来的
不知道为什么测试的时候能够自删除
放启动里边从开始菜单他就不自删除 了
而进入 C:\Documents and Settings\Administrator\「开始」菜单\程序\启动
运行 他又能自删除
不解 |
|