El siguiente es un archivo wpi.bat que tengo dentro de una carpeta wpi_classic (del wpi clasico) en la USB que ejecuto para instalarlo en windows 2000, probablemente pueda servirte como base o idea para tu cmd @ECHO OFF REM Example, how to look for CDROM-drive. Must have a file to identify in its root REM (like WIN51 or WPI.ico even Setup.exe like in Win98) Any file that exists at the CD root. for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WPI_Classic set CDROM=%%i: echo Found WPI Classic in %CDROM% REM Determine the WPI startup path. REM if wpi should run off the cd the replace %~dp0 with %cdrom%. set wpipath=%CDROM% REM Start WPI and wait for its end start /wait %CDROM%\WPI_Classic\WPI.hta exit