Hi,

 Here are two .bat files that help converting an entire folder
of .lib files in omf format. A subfolder "omf" will be created in the
current folder.

 coffimplib needs to be in the current folder, too.

 The batch file "convert_all.bat" is destined to be run in the C:
\Matlab\extern\lib\win32\microsoft folder.

 ====file: convert_all.bat========

@echo off
echo [convert_all.bat]
md omf
for /f %%a IN ('dir /b *.lib') do call convert_one.bat %%a

 ====file: convert_one.bat========

@echo off
echo [convert_one.bat] converting %1
cd omf
..\coffimplib ..\%1 .\%1
cd ..

===================================

eles

Reply via email to