All right, since that's the case, I enhanced it again and added the following options (note: only one option can be entered at a time):
/N: display on screen only, without setting the environment variable;
/Q: do not display on screen, only set the environment variable;
/?: help;
/S: set all mode (that is, the effect pfox and lydong wanted). For example, if there are two CD-ROM drives F and G, then after running FINDCD /S the result is:
CDROM=2
CDROM1=F:
CDROM2=G:
Note: if it runs normally, the ERRORLEVEL value is 0; otherwise it is 1 (no CD-ROM drive) or 2 (unable to set environment variable).
download link:
Open attachment link expired (admin note 2009-4-28)
lydong: I have never noticed any garbled text, neither in pure DOS nor in a DOS window.
Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
