Tutorial System environment variable

Storm Shadow

Administrator
Staff member
Developer
Ida Pro Expert
Elite Cracker
Got a new laptop with windows 8.1
Aparently setting the system inviroment, dosent always work as planned with window 8.1.
Searching google , i only learned that i wasent the only one.And not much answers.
I tried normal
Code:
IDADIR = path to ida
from CMD


Code:
\echo %IDADIR%
C:\Program Files (x86)\IDA 6.5


okay found then it should be able to start idaq like no trouble
CMD
Code:
idag
 
 
is not recognized as an internal or external command,
mhhhh :depressed.png:
If putting the path to ida in the path all works but we wanna have it be regonized as IDADIR.
Also IDASDK and IDADIR is pretty important when building plugins.And save alot of trouble.


Solution is that make
inviroment
Code:
IDADIR = path to ida
then in path inviroment put
Code:
%IDADIR%


Apply to python also
Code:
PYTHONPATH = C:\Python27;C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk;
and in PATH put
Code:
%PYTHONOPATH%

Code:
IDASDK = path to sdk
becomes
Code:
%IDASDK%

So PATH would be like this

Code:
%IDADIR%;%IDASDK%;%PYTHONPATH%

Code:
\echo %IDADIR%
C:\Program Files (x86)\IDA 6.5
works nice showing right dir ,and idaq from cmd works

Hope it helps out.

regards
 
Last edited:

roocoon

New member
If you overwrite the environment it will work great if you only use IDA 6.5
I still prefer IDA 6.1 though until 6.5 is shown to be stable.
So I keep the environment variable IDADIR pointing to 6.1.
To run 6.5 in parallel, I just made a *.cmd file that only sets IDADIR and in the same shell it runs IDA 6.5

cd c:\
cd \Tools\Ida6.5
set IDADIR=c:\Tools\Ida6.5
idaq64.exe
 

Storm Shadow

Administrator
Staff member
Developer
Ida Pro Expert
Elite Cracker
If you overwrite the environment it will work great if you only use IDA 6.5
I still prefer IDA 6.1 though until 6.5 is shown to be stable.
So I keep the environment variable IDADIR pointing to 6.1.
To run 6.5 in parallel, I just made a *.cmd file that only sets IDADIR and in the same shell it runs IDA 6.5

cd c:\
cd \Tools\Ida6.5
set IDADIR=c:\Tools\Ida6.5
idaq64.exe
Yes but the thing is that in some windows 8.1 versions setiing the IDADIR isent regonized.

So only do like i showed, if you having trouble like me.But after its stills show as IDADIR and working correct.
Code:
\echo %IDADIR%
C:\Program Files (x86)\IDA 6.5
idag.exe working
 
Top