ECHO Clone Dolphin image environment
git clone -q --branch=master https://github.com/dolphinsmalltalk/Dolphin.git Dolphin

ECHO Copy executables
copy ..\..\Dolphin7.exe Dolphin
copy ..\..\DolphinVM7.dll Dolphin
copy ..\..\DolphinCR7.dll Dolphin
copy ..\..\DolphinDR7.dll Dolphin
copy ..\..\DolphinSureCrypto.dll Dolphin

ECHO Boot and test image
cd Dolphin
Dolphin7 DBOOT.img7 DolphinProfessional
DIR DBOOT*, DPRO*
CALL TestDPRO
set errorCode=%ERRORLEVEL%
DIR DPRO*
EXIT errorCode

ECHO Clone Dolphin image environment
git clone -q --branch=master https://github.com/dolphinsmalltalk/Dolphin.git Dolphin

ECHO Copy executables
copy ..\..\Dolphin7.exe Dolphin
copy ..\..\DolphinVM7.dll Dolphin
copy ..\..\DolphinCR7.dll Dolphin
copy ..\..\DolphinDR7.dll Dolphin
copy ..\..\DolphinSureCrypto.dll Dolphin

ECHO Boot and test image
cd Dolphin
Dolphin7 DBOOT.img7 DolphinProfessional
DIR DBOOT*, DPRO*
CALL TestDPRO
set errorCode=%ERRORLEVEL%
DIR DPRO*
EXIT %errorCode%

Use proper reference to error code.
Use proper reference to error code.
