home *** CD-ROM | disk | FTP | other *** search
- echo off
- if %1 == X goto next
- if not %1 == X goto next
- goto error
- :next
- if %2 == X goto cont
- if not %2 == X goto cont
- :error
- echo Please include the source and destination drives to the command,
- echo e.g. INSTALL A: C:
- goto out
- :cont
- cls
- echo Wellcome to install DrawMap !
- echo DrawMap will be installed in drive %2
- echo Type CTRL-C if this is NOT CORRECT.
- pause
- %2
- md %2\drawmap
- cd %2\drawmap
- copy %1\drawmap\*.*
- echo DrawMap is installed.
- echo Type DRAWMAP to activate it.
- :out
-