PATH environment variable
I am trying to run an application on WIndows Server 2008 , which loads a dll from a path which is there in the PATH environment variable. But instead of looking into this path, it crashes after looking for the dll in some directories as per the DLL search path order of Windows. I need to know, if there is any registry key or other settings that affect the selection of path from the PATH environment variable
August 9th, 2011 3:05am

you can create the HKLM\System\CurrentControlSet\Control\Session Manager\SafeDllSearchMode registry value and set it to 0 to have your CWD (Current Working Directory) be looked after application launch directory in the DllSearchOrder. Then a simple check would be to CD to the folder that containing the proper Dll and then launch the application from there. You are the Knowledge You have MyWordPress; MyBlogSpot; MyMicrosoft; MyCitrix; MyVMWare; MySymantec; MyLinkedIn; MyFaceBook; MyGReader;
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2011 3:41am

Hi, Please also run the command: SFC /Scannow to scan and repair the system DLL files. For more troubleshooting information, please refer to the following Microsoft KB article: How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7 http://support.microsoft.com/kb/929833 Regards, Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
August 10th, 2011 11:29am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics