killion211
asked on
set path variable in xp so C++ compiler program can run in dos and go to any directory.
I opened a C++ compiler program in the DOS enviornment. I went to command prompt and copied files that I was supposed to off the CD. All that went well. Opened directory and copied files to it. Well, the C++ program does not work. I think that I need to set the Path in xp. I tried doing this once and messed up and had to get a fix it program that I downloaded. Is their any way I can set the path in DOS? I read that you can, or can I set a totally new path in enviornment variables? As long as the original path is there will this C++ program look for multiple paths then pick the one that works. I would rather not mess with the original path set by windows. thanx.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To set the path, you better off doing the following:
Start -> Control panel -> System -> Advanced -> Environment variables
and then select the variable "Path" and click on edit etc.
Of course, you have to know what you want to make the path first. This depends a lot on which C++ compiler you're using.