Okay 2 things and your prob should be fixed. REM Determine the WPI startup path. REM if wpi should run off the cd the replace %~dp0 with %cdrom%. set wpipath=%~dp0 Make sure where it says set wpipath= That you have %cdrom% there. and for the secomd thing what do you have for the cd identifier?? REM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or WPI.ico). 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.ico set CDROM=%%i: echo Found CD-Rom as drive %CDROM% if you change the part where it says %%i:\wpi.ico you need to edit generate.js to reflect those changes. (2 spots) function FindCDRom() { position = "generate.js"; var i, li; if (foundCDdrv) return cddrv; li = GetCDRomDriveLetters(); for (i=0; i<li.length; i++) { if (FileExists(li+'\\WPI.ico'))<----- HERE { cddrv = li; debug("Found CDROM as drive " + cddrv,1,2); } } if (cddrv=="") { a = fso.GetAbsolutePathName("."); while (a.length>=3) { //debug("Trying ... " + a, 1); if (FileExists(a+'\\WPI.ico'))<----- AND HERE