Determine which library contains function

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
Code:
:: WHICHLIB.BTM
:: A simple way to find in which library a function is located.
::
@setlocal
@echo off
:: Assume that library files are located in _startpath\library
cd %_startpath\library
:: Assume that library files have the extension .library
ffind /v/m/t"%1 {" *.library
if %_ffind_matches lt 1 echo Could not find function %1 in any library
endlocal