home *** CD-ROM | disk | FTP | other *** search
- echo off
- rem PADX Installation Procedure
- cls
- echo ******************************************************************************
- echo * P A D X I N S T A L L A T I O N P R O C E D U R E *
- echo ******************************************************************************
- echo * *
- echo * *
- echo * *
- echo * This procedure will install the AutoCad/PADS conversion program to the *
- echo * drive you specify. It will copy the *.SHX & *.SHP files to the AutoCad *
- echo * directory you specify. It will also copy the program and documentation *
- echo * files to the directory \PADS as well as some example files to \PADS\FILES *
- echo * If any of these directories do not exist they will be created. *
- echo * *
- echo ******************************************************************************
-
- rem If no directory name was provided, give them the instructions.
- REM if not %2! == !
- REM if not %3! == ! goto install
- REM echo ERROR: No AutoCad and/or Pads directory specified.
- REM echo usage is n:INSTALL n: Autocad-dir PADS-dir
- REM echo where n = floppy drive where DXF disk is inserted.
- REM goto exit
-
- :install
- echo %1*.SHX & .SHP files will be copied to %2\SHX. Program and documentation
- echo files will be copied to %3.
- echo If this is not correct type ctrl-C, and re-run the procedure.
- pause
- md %2 >nul
- md %2\shx >nul
- md %3 >nul
- md %3\files >nul
- echo Copying %1*.SHX to %2\SHX . . .
- cd \
- copy %1*.shx %2\SHX /v >nul
- echo Copying %1*.SHP to %2\SHX . . .
- copy %1*.shp %2\SHX /v >nul
- echo Copying Program and Documentation to %3 . . .
- copy %1*.exe %3 /v >nul
- copy %1*.hlp %3 /v >nul
- copy %1*.cfg %3 /v >nul
- copy %1*.bat %3 /v >nul
- copy %1\document\*.doc %3 /v >nul
- echo Copying Example files to %3\files . . .
- copy %1\example\*.* %3\files /v >nul
- echo PADX Installation Complete.
-
- :exit
-