@echo off if "%1" == "" goto help goto ok :help echo usage: setcompanycode echo Sets the company code for disc application. goto end :ok for %%i in (%REVOLUTION_SDK_ROOT%\x86\bin\rvl*.bin) do ( %REVOLUTION_SDK_ROOT%\x86\bin\rvlbinconv -f %%i -g %1 if errorlevel 1 goto failed ) echo Successfully done. Set the company code for disc application to %1. goto mesg :failed echo Failed to set the company code for disc application. goto end :mesg echo ****************************************************************************** echo * If you make master data, you must execute loadrun/odrun before you do so!! * echo ****************************************************************************** :end