Friday, July 3, 2015

Auto open dlls and exe in current directory for IDA

---------------------begin .cmd file--------------------
pushd .
cd "C:\Program Files"
FOR /F "delims=" %%F IN ('dir /S /b idaq.exe') DO SET IDAEXE="%%F"
popd
echo "%IDAEXE%"
set IDBDIR=.

for /R %%v in (*.dll) do start /wait "" %IDAEXE% -B -A -c -P -o%IDBDIR%\%%~nv.idb "%%v"
for /R %%v in (*.exe) do start /wait "" %IDAEXE% -B -A -c -P -o%IDBDIR%\%%~nv.idb "%%v"

---------------------.cmd file--------------------

Edit this for x64 with cd "C:\Program Files (x86)"

Edit this for whatever you're working on.

No comments:

Post a Comment