...
Add the parameter at the end of the targitdb.ini file found in C:\Program Files\TARGIT\TARGIT InMemoryDB\targitdb.ini like below, and then restart the server.
[general]
data_dir=EC:\TARGIT\TARGIT InMemoryDB\Data\
log_dir=EC:\TARGIT\TARGIT InMemoryDB\Log\
...