Change path of .DLL for an application?

Boutchoo

Distinguished
Feb 11, 2012
88
0
18,660
Greetings! I recently encountered a problem when trying to play my Games from my USB stick, when starting the .exe, it says "could not locate msvcr100.dll", but the access of windows/system32 is not accessible. Is there a way (.bat file or shortcut command) to tell the .exe to go look for the .dll in another place on my HDD?
I could create a file in ProgramFiles and place the .dll there but how can I tell my .exe to go look there?

Thank you!
Best regards,
Boutchoo
 
Solution
You can call it up by batch file before calling up the exe file. But that'll only work if that's when the dll file needs to be called up. If the exe file points to it partway through then you could only modify the exe file.