home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / IMPLIST.ZIP / IMPLST.CMD < prev    next >
OS/2 REXX Batch file  |  1991-07-28  |  590b  |  19 lines

  1. @rem  IMPLST.CMD  -  List a module's imported functions.
  2.  
  3. @rem  %LIB% and %TEMP% below, refer to the current setting
  4. @rem  of the environmental variables LIB and TEMP.
  5.  
  6. @rem  Substitute your path to OS2.LIB for %LIB%.
  7. @rem  Substitute your ram drive for %TEMP%.
  8.  
  9. @IF EXIST %1 GOTO CREATE
  10. @ECHO Usage is IMPLST file.exe,  cannot find input file %1
  11. @GOTO END
  12. :CREATE
  13. @ECHO Creating import library cross-reference.
  14. IMPLIST %LIB%\OS2.LIB > %TEMP%OS2LIB.LST
  15. @ECHO Filtering EXEHDR output.
  16. EXEHDR /V %1 | IMPFILT %TEMP%OS2LIB.LST > %TEMP%IMPLIST.LST
  17. TYPE %TEMP%IMPLIST.LST
  18. :END
  19.