You have: REM Determine the WPI startup path. REM if wpi should run off the cd the replace %~dp0 with %cdrom%. set wpipath=%cdrom%\$OEM$\$1\install\WPI That is why it is looking at %cdrom%\$OEM$\$1\install\WPI You need: REM Determine the WPI startup path. REM if wpi should run off the cd the replace %~dp0 with %cdrom%. set wpipath=%cdrom%\INSTALL