So i assume you want enum to be accessible in C++ for developer to use, since otherwise it’s pointless to make them, strings would be enough to deal with
Simply write header file in to source, here you have guide on reading and writing files
And you can get location path using those static functions:
The only issue is you will need to read up modules names to put headers in, or potentialy add new module with enums and add module to uproject.
Note that this require UE4 user to have VS installed eitherway