不用修改CDROM变量。如果用WIN98启动盘启动的话,
CDROM变量应该是CDROM的盘符,只要在批文件中引用即可。
比如你要运行光盘BIN文件夹下的A.EXe,只要在批文件中使用
%CDROM%\BIN\A.EXE即可。
要注意CDROM只能大写,不可以小写,否则不能正确引用。
更正一下,上面应该是:%CDROM%:\BIN\A.EXE
No need to modify the CDROM variable. If you boot with a WIN98 boot disk, the CDROM variable should be the drive letter of the CDROM, and you can just reference it in the batch file. For example, if you want to run A.EXE in the BIN folder on the CD, you can use %CDROM%:\BIN\A.EXE in the batch file.
It should be noted that CDROM must be in uppercase, not lowercase, otherwise the reference will not be correct.
Correctly, the above should be: %CDROM%:\BIN\A.EXE