Also, if you have got a Windows setup disk loaded depending upon its OS you may not have a directory in it's root named I386. If that is the case you may need to change it to another directory such as boot, support, tools or upgrade or even to a known file such as setup.exe or autorun.inf.
::----- Start getCDD.cmd -----
@Echo Off
Set "CDDrive="
For /F "Tokens=*" %%a In ('WMIC LogicalDisk WHERE^
"DriveType=5 AND Access=1 OR Access=3" Get Caption 2^>Nul') Do For %%b In (%%a
) Do If Exist %%b\autorun.inf Set "CDDrive=%%b"
If Not Defined CDDrive Exit/B
Echo( [%CDDrive%]
Pause
::------ End getCDD.cmd ------
Each line has been prepended with two spaces, any line which doesn't start with two spaces or more has wrapped. (You may remove those two spaces.)