set v=214
md x
md x\EDK

copy "EDK - The Emulator Devlopers Kit for 8 bit computers.txt" x\EDK >nul
copy "PC64Win.exe" x\EDK >nul
copy "PC64Win.lib" x\EDK >nul
xcopy "Include" "x\EDK\Include\" /s

xcopy "Simons' Basic" "x\EDK\Simons' Basic\" /s
copy "SimonBas.dll" x\EDK >nul 
copy "Simons' Basic.bat" x\EDK >nul

xcopy "MIDI" "x\EDK\MIDI\" /s
copy "MIDI.dll" x\EDK >nul

xcopy "Freezer" "x\EDK\Freezer\" /s
copy "Freezer.dll" x\EDK >nul

xcopy "Userport" "x\EDK\Userport\" /s
copy "Userport.dll" x\EDK >nul

cd x
global for %%i in (*.mdp *.ncb *.aps) do del %%i
start /wait "C:\Program Files\WinZip\WinZip32.exe" C:\_\PC64Win\EDK\x\EDK%v%.zip
start /wait C:\WinZipSE\WinZipSE.exe C:\_\PC64Win\EDK\x\EDK%v%.zip -win32 -d C:\PC64Win 
move EDK%v%.exe ..
cd ..
deltree /y x
