home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c011 / 3.ddi / MISC / FXOBJS.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-06-01  |  2.1 KB  |  54 lines

  1. echo off
  2. echo .
  3. echo ╒══════════════════════════════════════════════════════════════════════════╕
  4. echo │ fxOBJs: Library Object Module Extractor                 PCX Effects 1.0x │
  5. echo │ Copyright (c) Genus Microprogramming, Inc. 1988-89  All Rights Reserved. │
  6. echo ╘══════════════════════════════════════════════════════════════════════════╛
  7. echo .
  8. if '%1' == '' goto HELP
  9. if exist %1 goto EXTRACT
  10. if exist %1.lib goto EXTRACT
  11. goto NOTFOUND
  12. :EXTRACT
  13. echo . Extracting PCX Effects OBJ files ...
  14. echo .
  15. lib %1  *fxse  *fxvi  *fxve  *fxvw  *fxvl  *fxvs  *fxvc;
  16. if ERRORLEVEL 1 goto ERROR
  17. lib %1  *fxva  *fxvr  *fxvx  *fxvd  *fxvp  *fxvn  *fxdk;
  18. if ERRORLEVEL 1 goto ERROR
  19. lib %1  *fxtp  *fxpc  *fxsr  *fxfi;
  20. if ERRORLEVEL 1 goto ERROR
  21. goto DONE
  22. :HELP
  23. echo ╒╡ fxOBJs Help ╞═══════════════════════════════════════════════════════════╕
  24. echo │                                                                          │
  25. echo │                             fxOBJs libname                               │
  26. echo │                                                                          │
  27. echo │ Where 'libname' is the name of the F/X library you wish to extract the   │
  28. echo │ OBJ modules from. The modules will be stored in the current directory.   │
  29. echo │                                                                          │
  30. echo │ NOTE: The utility LIB.EXE must be in the current directory, or in the    │
  31. echo │       the current system path.                                           │
  32. echo │                                                                          │
  33. echo ╘══════════════════════════════════════════════════════════════════════════╛
  34. goto END
  35. :NOTFOUND
  36. echo . 
  37. echo . The library file [%1] does not exist ...
  38. goto END
  39. :ERROR
  40. echo .
  41. echo . An error occured while extracting OBJ's from [%1]. 
  42. echo .
  43. echo . Make sure that there is enough disk space, the library name is correct,
  44. echo . and the library is the correct version. The utility LIB.EXE must also
  45. echo . be in the current directory or path.
  46. echo .
  47. goto END
  48. :DONE
  49. echo . 
  50. echo . Done.
  51. :END
  52. echo . 
  53.  
  54.