home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p082 / 6.img / RAY.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-04-11  |  2.1 KB  |  51 lines

  1. echo off
  2. rem PADX Installation Procedure
  3. cls
  4. echo ******************************************************************************
  5. 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             *
  6. echo ******************************************************************************
  7. echo *                                                                            *
  8. echo *                                                                            *
  9. echo *                                                                            *
  10. echo *  This procedure will install the AutoCad/PADS conversion program to the    *
  11. echo *  drive you specify.  It will copy the *.SHX & *.SHP files to the AutoCad   *
  12. echo *  directory you specify.  It will also copy the program and documentation   *
  13. echo *  files to the directory \PADS as well as some example files to \PADS\FILES *
  14. echo *  If any of these directories do not exist they will be created.            *
  15. echo *                                                                            *
  16. echo ******************************************************************************
  17.  
  18. rem If no directory name was provided, give them the instructions.
  19. REM if not %2! == ! 
  20. REM if not %3! == ! goto install
  21. REM echo ERROR:  No AutoCad and/or Pads directory specified.
  22. REM echo usage is n:INSTALL n: Autocad-dir PADS-dir
  23. REM echo where n = floppy drive where DXF disk is inserted.
  24. REM goto exit
  25.  
  26. :install
  27. echo %1*.SHX & .SHP files will be copied to %2\SHX. Program and documentation
  28. echo files will be copied to %3.
  29. echo If this is not correct type ctrl-C, and re-run the procedure.
  30. pause
  31. md %2 >nul
  32. md %2\shx >nul
  33. md %3 >nul
  34. md %3\files >nul
  35. echo Copying %1*.SHX to %2\SHX . . .
  36. cd \
  37. copy %1*.shx %2\SHX /v >nul
  38. echo Copying %1*.SHP to %2\SHX . . .
  39. copy %1*.shp %2\SHX /v >nul
  40. echo Copying Program and Documentation to %3 . . .
  41. copy %1*.exe %3 /v >nul
  42. copy %1*.hlp %3 /v >nul
  43. copy %1*.cfg %3 /v >nul
  44. copy %1*.bat %3 /v >nul
  45. copy %1\document\*.doc %3 /v >nul
  46. echo Copying Example files to %3\files . . .
  47. copy %1\example\*.* %3\files /v >nul
  48. echo PADX Installation Complete.
  49.  
  50. :exit
  51.