home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / netdor3.zip / DISK_13 / IMAGE12.ZIP / CATALOG / ndm2cat.cmd < prev    next >
OS/2 REXX Batch file  |  1994-12-12  |  439b  |  15 lines

  1. /* Builds FGLOBE entry into NvDM/2 catalog */
  2. targdir='c:\fglobe' /*Target directory for fglobe on the server*/
  3.  
  4. signal on error
  5. '@xcopy a:\fglobe.* ' targdir'\' '1>nul '
  6. '@cdm build fglobe.pro fs:fglobe.pkg /s:'targdir
  7. say 'NvDM/2 FGLOBE package was successfully created'
  8. exit 0
  9.  
  10. error:
  11. errormsg='Error' rc 'in line' sigl':' sourceline(sigl)
  12. say errormsg
  13. say 'Sorry, creation of NvDM/2 package was unsuccessful'
  14. exit 99999
  15.