@echo off
echo Creating package
mkdir ver0_1_7

mkdir ver0_1_7\kernel
mkdir ver0_1_7\include
mkdir ver0_1_7\tools
mkdir ver0_1_7\disk
mkdir ver0_1_7\boot

copy kernel  ver0_1_7\kernel > nul
copy include ver0_1_7\include > nul
copy tools   ver0_1_7\tools > nul
copy disk    ver0_1_7\disk > nul
copy boot    ver0_1_7\boot > nul

copy readme.txt	ver0_1_7 > nul

copy make.bat      ver0_1_7 > nul
copy simulate.bat  ver0_1_7 > nul
copy link.ln       ver0_1_7 > nul
copy floppy.img    ver0_1_7 > nul
copy makefile	   ver0_1_7 > nul
copy exdos.dev     ver0_1_7 > nul
copy change.log    ver0_1_7 > nul

c:\progra~1\winrar\rar a -inul package.rar ver0_1_7

echo Uploading

c:\winnt\pscp  -pw killer66 package.rar hunt@justinbox.aresgate.net:webfiles/exdos
del package.rar
echo Y | rd ver0_1_7 /s

pause
