I am working in a Windows XP Pro environment and I am wondering if there is a simple way to make a program be executable from any path in the command prompt. Are environmental variables needed? And if so, how can I add a path to the PATH environmental variable and have it be available anywhere?
From the cmd, I write
echo %PATH% and it shows me the path of where my program is.. i.e.
However, I try to execute it on my desktop and it says the
program name is not recognized as an internal or external command, operable program or batch file.
C:\Documents and Settings\me> program
(The executable program is in the folder
Am I doing something wrong? Does the path need to be directed to the program itself vs the program folder??