Last active
January 19, 2022 23:35
-
-
Save HBelusca/4909ca2ba1ceaf55c5732fab4ecf40f3 to your computer and use it in GitHub Desktop.
MS Windows 2003 ISO Remastering Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: title MS Windows 2003 ISO Remastering Script | |
cls | |
echo ******************************************************************************* | |
echo * * | |
echo * MS Windows 2003 ISO Remastering Script * | |
echo * * | |
echo ******************************************************************************* | |
echo. | |
set /p TOOLS_PATH="Please enter the path where CDIMAGE.EXE can be found: " | |
set /p INPUT_DIR="Please enter the path of the directory tree to be copied into the ISO: " | |
set /p OUTPUT_ISO="Please enter the path where the ISO should be created: " | |
echo. | |
"%TOOLS_PATH%\cdimage.exe" -l"CRMSFPP_FR" -h -j1 -b"%INPUT_DIR%\etfsboot.com" -p0 -e -x -ocs "%INPUT_DIR%" "%OUTPUT_ISO%" | |
echo. | |
if errorlevel 1 ( | |
echo An error %ERRORLEVEL% happened while trying to create the ISO file "%OUTPUT_ISO%". | |
goto :EOC | |
) else ( | |
echo The ISO file "%OUTPUT_ISO%" has been successfully created. | |
) | |
:EOC | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment