Add the directory of the program you're hoping to run to the PATH environment variable. doing so will mean you never have to be in the executable's containing folder to execute the .exe. You can do it from any dir which is helpful if you're in a folder where the data files are. To do this:
Control Panel -> System -> Advanced -> Environment Variables
Add new entry under User Environment Variables.
I usually add an environment variable for the directory containing my executable(s) then add that ivar to the PATH var, as follows:
ORACLE_HOME=C:\pathto\oracle\bin
PATH=C:\path1;C:\path2;%ORACLE_HOME%
Note that there are three dirs in my PATH and that they're separated by the ';'. Note that I point to my new ORACLE_HOME directory by enclosing it in '%'.
You'll have to restart cmd.exe to see your new env variables.
Comments
Post a Comment