Thanks to the two upstairs for helping.
Now there is a new problem:
Calling the F.BAT file with COMMAND/F/C can automatically respond to "ABORT,RETRY,FAIL" and then exit this new shell (I don't know if it's correct to call it a shell).
But the variable romcd generated in the new shell also disappears. How can I add the variables in the new environment to the original environment? The new environment can inherit the variables in the old environment.
I tried it myself~ Found a stupid way to add the variables of the new environment to the old environment,

modified F.BAT to:
if exist %cdrom1%\tools\vc.ini goto cd1 (VC.INI is a file in the CD)
if exist %cdrom2%\tools\vc.ini goto cd2
:cd1
set romcd=%cdrom1%
echo set cd-rom=%romcd%>scd.bat
goto end
:cd2
Then call the SCD.BAT file. Please let me know if anyone has a good method?
PS: <Discussion about "Hard Disk Killer" batch processing> I don't understand because of insufficient ability~~
Another PS: When COMMAND/F/C F.BAT is executed, it automatically responds to the selection, but the prompt of ABORT,RETRY,FAIL still appears on the screen~ How can I make it not display?
[
Last edited by icevan on 2005-8-20 at 22:49 ]