Question: I'm trying to compare two arrays in batch script, but I'm afraid I'm doing it wrong.
The code below retrieves the first 12 bytes from a file and tries to compare it with a given format.

Could you help help me with the TODO part?

PS: I'm not sure if I'm using the array variables correctly..

```
@echo off

SETlocal enabledelayedexpansion
SET read_byte_cmd=powershell -command Get-Content -encoding Byte -TotalCount 12 "'DB.accdb'" 

SET ACCESS_BYTES[0]=0
SET ACCESS_BYTES[1]=1
SET ACCESS_BYTES[2]=0
SET ACCESS_BYTES[3]=83
SET ACCESS_BYTES[4]=116
SET ACCESS_BYTES[5]=97
SET ACCESS_BYTES[6]=110 
SET ACCESS_BYTES[7]=100
SET ACCESS_BYTES[8]=97
SET ACCESS_BYTES[9]=114
SET ACCESS_BYTES[10]=100
SET ACCESS_BYTES[11]=32

echo list array --------------------
SET ACCESS_BYTES[
echo\

echo list file bytes --------------
set i=0
for /f "tokens=1 delims==" %%i in ('%read_byte_cmd%') do (
    set /A i+=1
    echo %read_byte_array[!i!]%=%%i
    )
echo\

echo list values only --------------
for /f "tokens=2 delims==" %%i in ('SET ACCESS_BYTES[') do echo %%i
echo\

echo comparison --------------------
:: TODO compare ACCESS_BYTES[i] with read_byte_array[i], if equal success..

```

Answer: 
Safest option: Reinstall

If you really don't want to reinstall you could just download the installation files without the setup (as it might be hard to get the files from the packed setup archive) and only replace the headers.

First make sure you know the exact version you have installed. The version of the compiler is important, not the IDE. For <https://sourceforge.net/projects/orwelldevcpp/> you see 'TDM-GCC 4.9.2 32/64bit'. So looking under 'Files'->'Compilers'->'TDM-GCC' you find this page: <https://sourceforge.net/projects/orwelldevcpp/files/Compilers/TDM-GCC/>

Download the archive with your version (in this case the `4.9.2`) in which you'll find an include folder under 'x86\_64-w64-mingw32' which should be the one you need. Copy it over your compilers include folder. For more safety check folder structures, versions inside the headers etc. to make sure you really got the right version.

**If in doubt at any point**: Reinstall! Or you might do more harm than good ;)
Well I somehow figured out solution without re-installation.

What worked :

1) I typed header file name in new cpp file in dev c++.On hoovering it gave me path of the header file in my pc.

2) Using Quick access in windows 10 I reached desired location where map was actually present.

3) Opened map header file in notepad.It was not modified(don't know why).

4) How I ran random cpp file in dev-cpp which encountered error and open map to show it has error.I overwrite map header with what I have copied from notepad.

5) Ran like wind.Thanks everyone.