home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ida35bo.zip
/
IDACHECK.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-01-29
|
719b
|
34 lines
@echo off
rem
rem This command file repairs IDA database.
rem
rem Usually it will be run from IDA automatically.
rem To run it manually:
rem - run IDA and exit with "Don't pack database"
rem - run this command file on the *.ID0 file
rem for example: IDACHECK MYBASE.ID0
rem - if you don't want to keep the database in the
rem unpacked form, run IDA and exit with "Pack..."
rem
cls
if %1. == . goto Usage
btv2 -c %1
btv2 %1 idachk.tmp
if errorlevel 1 goto Error
del %1
rename idachk.tmp %1
idacomp %1
goto Ex
:Usage
echo .
echo . Usage: idacheck filename
echo . where filename is *.id0 file
echo .
goto Ex
:Error
echo .
echo . Error during validation
echo .
pause
:Ex