home *** CD-ROM | disk | FTP | other *** search
- @echo off
- @if "%1"=="" goto err
-
- echo ----
- echo - Please make sure you have entered the correct path to your
- echo - Dark Reign directory! Failure to do so may result
- echo - in weird things happening!
- echo - This batch file assumes you have entered the directory name
- echo - in the following format:
- echo - aust c:\"program files"\activision\"dark reign"
- echo - Again, make sure this batch file points to this directory.
- echo ----
-
- pause
-
- @if not exist %1\dark\addon\nul goto makedir
-
-
- :go
-
- @md %1\dark\addon\aust
-
- @copy aust.ftg %1\dark\addon\aust
-
- @copy packman.cfg %1\dark\addon\aust
-
- @copy %1\dark\packman.cfg %1\dark\packman.old
-
- @type update.cfg >> %1\dark\packman.cfg
-
-
- goto success
-
- :success
-
- echo -
- echo - That's it!
- echo -
- goto end
-
- :err
-
- echo /--------------------------------------------------------------------\
- echo - Please enter the directory in which you installed Dark Reign. -
- echo - -
- echo - eg: aust c:\"program files"\activision\"dark reign" -
- echo \--------------------------------------------------------------------/
- pause
- goto end
-
- :makedir
-
- @md %1\dark\addon
-
- goto go
-
-
- :end
-
-
-