Rephrased question
I have an XP machine where I want to access an *.bat file from anywhere in my command prompt. As an example, let's say it's vcvarsall.bat
from my Visual Studio 2010 directory.
Normally, this can be done by adding the directory path of this *.bat file in my User environment variable "Path" with the entry:
C:\Program Files\Microsoft Visual Studio 10.0\VC
Having done that, I can now type vcvarsall
in the command prompt regardless of the current directory path.
However, this is not working on one of my XP machines. I have tried echo %path
, it's there, but the computer is unable to find vcvarsall
.
I have tried looking into the cause for this, but was unable to find it. Any insights on this would be greatly appreciated.
Old question - please ignore
This question is not so much about which exe or dll file I'm trying to make use of, but rather the unusual behaviour on one of my XP machines. To prevent confusion, I have rephrased the question as above, but left the old question just for archival purpose. I thank you for the time you take to help me with this.
I have added a path to a DLL file's location (FrameStream.dll) to my System Variable on a Windows XP machine, but when I run an application that loads the said DLL file, an error message tells me that it is not found.
This is the entry of my System variable Path:
%SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem; %NUANCE_VERSION%\bin; C:\Program Files\Microsoft SQL Server\100\Tools\Binn; C:\Program Files\Microsoft SQL Server\100\DTS\Binn; C:\WINDOWS\system32\WindowsPowerShell\v1.0; C:\Program Files\Skype\Phone; C:\Python34\Scripts; C:\Python34; C:\Dev\ffmpeg-20160219-git-98a0053-win32-shared\bin; C:\Dev\SDL2-2.0.4\lib\x86; C:\Ang_delwhenhesgone\WebcamStreamClient\Debug; C:\Ang_delwhenhesgone\ffmpeg_scripts; C:\Dev\opencv_old\build\x86\vc10\bin;
The path of the DLL file is in C:\Ang_delwhenhesgone\WebcamStreamClient\Debug;
.
When I type 'echo %Path%' in the command prompt, I get:
C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\PROGRA~1\COMMON~1\
NUANCE~1\bin; C:\Program Files\Microsoft SQL Server\100\Tools\Binn; C:\Program F
iles\Microsoft SQL Server\100\DTS\Binn; C:\WINDOWS\system32\WindowsPowerShell\v1
.0; C:\Program Files\Skype\Phone; C:\Python34\Scripts; C:\Python34; C:\Dev\ffmpe
g-20160219-git-98a0053-win32-shared\bin; C:\Dev\SDL2-2.0.4\lib\x86; C:\Ang_delwh
enhesgone\WebcamStreamClient\Debug; C:\Ang_delwhenhesgone\ffmpeg_scripts; C:\Dev
\opencv_old\build\x86\vc10\bin;
which seems correct.
I should add that I have been able to set up the same Path entry on two other machines (XP and Win10) without any issues. This led me to suspect something is wrong here. Could it be the Japanese locale that's causing the issue? I can only wonder.
Help would be really appreciated.