well..i have tried on many ways but when %CDROM%\1.EXE doesnt exist, the cmd doesnt continue with the script execution (2.exe) and the cmd is closed if 1.exe exist, the cmd works excelent could be that "if" parameter is bad written? (i also have tried Yzöwl commands): IF EXIST "%CDROM%\1.EXE" (START "" /WAIT "%CDROM%\1.EXE") "C:\2.EXE" and then if exist... else... if no exist... goto... &&... but no way PD: if i have %cdrom% on a pendrive..or hard disk..all works fine, the problem is when %cdrom% is a cdrom or a dvd