Nice forum! Hope you can answer my question. I have a DLL file that points to C:\map and I can changed that directory (with Reflexil, plug-in for Reflector) and that works fine. But what I actually want is that it points to its current directory without defining C:\ etc.
I am trying to remove them but with Reflexil it’s impossible. And the dll file is compiled so when I decompile it with Visual Studio and the Reflector plug-in, I can change it like you said but impossible to compile again I think.
Are you sure that the problem is the quotes? Because if that’s what you think it is I will do everything to remove them.
Thank you very much again! I appreciate your replies
I think the problem is in the quotes because if you put a string in quotes that means that the path is that one in between quotes.
But what you need to do is add a variable instead of string. The variable Environment.CurrentDirectory is the dynamic variable for the current directory (obviously). If you can make it work without the quotes that I think would be a solution.
You can also try to leave the path empty like this "" but I doubt this will work.