@echo off
if exist regdir\rules.txt goto end

rem **BACKUP REGULAR FILES***
md regdir
md regdir\sound
move rules.txt regdir
move terrain1.gif regdir
move terrain2.gif regdir
move units.gif regdir
move cities.gif regdir
move city.txt regdir
move sound\custom1.wav regdir\sound
move sound\custom2.wav regdir\sound
move sound\custom3.wav regdir\sound

rem **CREATE SHADOWLAND DIRECTORY**
md shadir
md shadir\sound
copy shafiles shadir\shafiles.exe
cd shadir
shafiles.exe
del shafiles.exe
move *.wav sound
cd..

rem **INSTALL SHADOWLAND FILES**
copy shadir\*.*
copy shadir\sound\*.* sound

:end
