我以前找到过一个PQ的img,他用到虚拟盘.
@ECHO OFF
PROMPT $P$G
set temp=c:\
set tmp=c:\
SET EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
CALL SETRAMD.BAT %LglDrv%
COPY COMMAND.COM %RAMD%:\
COPY RESTART.COM %RAMD%:\
COPY TW.EXE %RAMD%:\
REM EXTRACT /E /L %RAMD:\ EBD.CAB > NUL
SET COMSPEC=%RAMD%:\COMMAND.COM
PATH=%RAMD%:\;%CDROM%:\DOS\;A:\;
LH KILLER
LH CTMOUSE
LH MSCDEX.EXE /D:MSCD000 /L:%CDROM%
CDA %CDROM% > NUL
IF errorlevel 1 GOTO NEXTCD
IF NOT EXIST %CDROM%:\DM\SEAGATE\DM.EXE GOTO NEXTCD
GOTO BOOT
:NEXTCD
CALL CHCDROM.BAT C D E F G H I J K L M N O P Q R S T U V W X Y Z
GOTO BOOT
:BOOT
Set LglDrv=
PATH=%RAMD%:\;A:\;C:\;%CDROM%:;%CDROM%:\DOS\;%RAMD%:\BAT\;%CDROM%:\;
MD %RAMD%:\TEMP
XXCOPY /E /H %CDROM%:\DOS\EBD %RAMD%:\ > NUL
IF "%config%"=="CHS" GOTO CHS
IF "%config%"=="ENG" GOTO ENG
:ENG
COPY %CDROM%:\DOS\PQMAGIC\*.* %RAMD%:
%RAMD%:
PQMAGIC.EXE
GOTO EXIT
:CHS
COPY %CDROM%:\DOS\pqpmcht8\*.* %RAMD%:
%RAMD%:
PQMAGIC.EXE
GOTO EXIT
:EXIT 作者: lucky0504 时间: 2004-12-30 03:04 标题: 关于批处理,CONFIG配置文件的错误?