home *** CD-ROM | disk | FTP | other *** search
/ Print Artist Classic 3.0 / pa3classic.iso / pa / movepa.bat < prev    next >
DOS Batch File  |  1995-09-14  |  4KB  |  99 lines

  1. @echo off
  2. echo.
  3. echo Print Artist MOVEPA utility - moves Print Artist documents and
  4. echo graphics from older versions of Instant Artist or Print Artist into
  5. echo Print Artist 3.0.  This operation will remove the contents of the
  6. echo source directory.
  7. echo.
  8. set WHAT=%1
  9. :DOSCREEN
  10. if (%what%^a)==(^a) goto NODICE
  11. if EXIST %what%\*.sgn goto DOIT
  12. if EXIST %what%\*.bc  goto DOIT
  13. if EXIST %what%\*.lth goto DOIT
  14. if EXIST %what%\*.cer goto DOIT
  15. if EXIST %what%\*.gc  goto DOIT
  16. if EXIST %what%\*.ban goto DOIT
  17. if EXIST %what%\*.pc  goto DOIT
  18. if EXIST %what%\*.env goto DOIT
  19. if EXIST %what%\*.cal goto DOIT
  20. if EXIST %what%\*.crf goto DOIT
  21. if EXIST %what%\*.gfx goto DOIT
  22. if EXIST %what%\*.pcx goto DOIT
  23. if EXIST %what%\*.bmp goto DOIT
  24. if EXIST %what%\*.tif goto DOIT
  25. if EXIST %what%\*.jpg goto DOIT
  26. if EXIST %what%\*.pcd goto DOIT
  27. if EXIST %what%\*.eps goto DOIT
  28. :NODICE
  29. echo The MOVEPA utility did not find any Print Artist documents or graphics
  30. echo in %what%.
  31. echo.
  32. echo Enter the path of your older version of Instant Artist or Print Artist.
  33. echo Usually, this is C:\PA, D:\PA or C:\WINIART.
  34. echo.
  35. what S "Path containing old documents and graphics: "
  36. echo.
  37. if (%what%^a)==(^a) goto DONE
  38. goto DOSCREEN
  39. :DOIT
  40. echo Moving old documents and graphics from %what% to Print Artist 3.0...
  41.  
  42.  
  43. if EXIST %what%\*.fnt .\pixcopy /E /U %what%\*.fnt ..\PA
  44. if EXIST %what%\*.lay .\pixcopy /E /U %what%\*.lay ..\PA
  45. if EXIST %what%\*.gfx .\pixcopy /E /U %what%\*.gfx ..\PA
  46. if EXIST %what%\*.lys .\pixcopy /E /U %what%\*.lys ..\PA
  47. if EXIST %what%\*.sgn .\pixcopy /E /U %what%\*.sgn ..\PA
  48. if EXIST %what%\*.bc  .\pixcopy /E /U %what%\*.bc  ..\PA
  49. if EXIST %what%\*.lth .\pixcopy /E /U %what%\*.lth ..\PA
  50. if EXIST %what%\*.cer .\pixcopy /E /U %what%\*.cer ..\PA
  51. if EXIST %what%\*.gc  .\pixcopy /E /U %what%\*.gc  ..\PA
  52. if EXIST %what%\*.ban .\pixcopy /E /U %what%\*.ban ..\PA
  53. if EXIST %what%\*.pc  .\pixcopy /E /U %what%\*.pc  ..\PA
  54. if EXIST %what%\*.env .\pixcopy /E /U %what%\*.env ..\PA
  55. if EXIST %what%\*.cal .\pixcopy /E /U %what%\*.cal ..\PA
  56. if EXIST %what%\*.crf .\pixcopy /E /U %what%\*.crf ..\PA
  57. if EXIST %what%\*.pcx .\pixcopy /E /U %what%\*.pcx ..\PA
  58. if EXIST %what%\*.bmp .\pixcopy /E /U %what%\*.bmp ..\PA
  59. if EXIST %what%\*.tif .\pixcopy /E /U %what%\*.tif ..\PA
  60. if EXIST %what%\*.jpg .\pixcopy /E /U %what%\*.jpg ..\PA
  61. if EXIST %what%\*.pcd .\pixcopy /E /U %what%\*.pcd ..\PA
  62. if EXIST %what%\*.eps .\pixcopy /E /U %what%\*.eps ..\PA
  63. if EXIST %what%\*.dll del %what%\*.dll
  64. if EXIST %what%\*.exe del %what%\*.exe
  65. if EXIST %what%\*.hlp del %what%\*.hlp
  66. if EXIST %what%\*.pkw del %what%\*.pkw
  67. if EXIST %what%\*.qot del %what%\*.qot
  68. if EXIST %what%\*.txt del %what%\*.txt
  69. if EXIST %what%\*.wri del %what%\*.wri
  70. if EXIST %what%\*.fnt del %what%\*.fnt
  71. if EXIST %what%\*.lay del %what%\*.lay
  72. if EXIST %what%\*.gfx del %what%\*.gfx
  73. if EXIST %what%\*.lys del %what%\*.lys
  74. if EXIST %what%\*.sgn del %what%\*.sgn
  75. if EXIST %what%\*.bc  del %what%\*.bc
  76. if EXIST %what%\*.lth del %what%\*.lth
  77. if EXIST %what%\*.cer del %what%\*.cer
  78. if EXIST %what%\*.gc  del %what%\*.gc
  79. if EXIST %what%\*.ban del %what%\*.ban
  80. if EXIST %what%\*.pc  del %what%\*.pc
  81. if EXIST %what%\*.env del %what%\*.env
  82. if EXIST %what%\*.cal del %what%\*.cal
  83. if EXIST %what%\*.crf del %what%\*.crf
  84. if EXIST %what%\*.pcx del %what%\*.pcx
  85. if EXIST %what%\*.bmp del %what%\*.bmp
  86. if EXIST %what%\*.tif del %what%\*.tif
  87. if EXIST %what%\*.jpg del %what%\*.jpg
  88. if EXIST %what%\*.pcd del %what%\*.pcd
  89. if EXIST %what%\*.eps del %what%\*.eps
  90. if EXIST .\pabonus.gfx del .\pabonus.gfx
  91.  
  92. echo.
  93. echo Finished moving old documents and graphics.  The older installation
  94. echo of Instant Artist or Print Artist in %what% has been deleted.
  95. echo.
  96. :DONE
  97. echo [[[ Close this window when you have finished reading the text. ]]]
  98. echo.
  99.