求高手指点!批命令错误!
我的
applications.cmd
@ECHO OFF
Color 17
ECHO.
ECHO Installing Application Program
ECHO Installing WinRAR 3.20
ECHO Please wait...
start /wait %systemdrive%\install\Applications\winrar.exe /s
ECHO.
ECHO Installing FlashGet 1.4
ECHO Please wait...
start /wait %systemdrive%\install\Applications\FlashGet.exe /s
REGEDIT /S %systemdrive%\install\Applications\FlashGet.reg
ECHO.
ECHO Installing Norton AntiVirus 8
ECHO Please wait...
start /wait %systemdrive%\install\Applications\NAV.EXE /qn
ECHO.
ECHO Installing DriverGenius 1.5
ECHO Please wait...
start /wait %systemdrive%\install\Applications\DriverGenius.exe /s
ECHO.
ECHO 删除安装过程中的临时文件...
RD /S /Q %systemdrive%\install
RD /S /Q %systemdrive%\drv
ECHO.
ECHO 重新起动...
ECHO Please wait...
%systemroot%\shutdown.exe -r
ECHO.
EXIT
shutdown文件是放在$oem$下$$中,安装中会COPY系统目录winnt中.
批命令里
RD /S /Q %systemdrive%\install
RD /S /Q %systemdrive%\drv
....
安装时,系统只执行到RD /S /Q %systemdrive%\install这一行,下面的就不再运行了。
求高手指点,谢谢!