set DSSS_PATH=c:\dsss if ERRORLEVEL 1 goto error copy activex.di %DSSS_PATH%\include\d if ERRORLEVEL 1 goto error copy activex.lib %DSSS_PATH%\lib if ERRORLEVEL 1 goto error echo "install complete" goto exit :error echo Last cmd failed(%ERRORLEVEL%), this install is not complete ... :exit