[求助]请教在多光驱的情况下,如何知道装有光盘的光驱盘符??
谢谢楼上的大哥,按照这样的思路我做了个批处理文件,不知对不对??
@ECHO OFF
LH DOSKEY
LH MSCDEX /D:MSCD001
LH SMARTDRV
LH CTMOUSE
LH FINDCD.EXE /S
IF EXIST %CDROM1%\CD.PJK GOTO CD1
IF EXIST %CDROM2%\CD.PJK GOTO CD2
GOTO NOCD
:CD1
path a:\;%CDROM1%\dos\;%CDROM1%\ucdos\;
%cdrom1%
GOTO RUNCD
:CD2
path a:\;%CDROM2%\dos\;%CDROM2%\ucdos\;
%cdrom2%
GOTO RUNCD
:RUNCD
ECHO PartitionMagic 8.0
ECHO Copyright 1994-2002, PowerQuest Corporation
ECHO All rights reserved.
ECHO.
ECHO Loading. Please wait...
ECHO.
CD \TOOLS\PQ
PQMAGIC.EXE
GOTO END
:NOCD
ECHO .
ECHO NO CDROM
GOTO END
:END