re: Change XP path & make it stick
Saturday, November 22, 2003 at 5:56 am Posted by Steve B
(395 messages posted)
You may be able to run your programs from a batch file that sets the PATH environment
variable.
I change the PATH environment variable permanently this way.
Right click on My Computer. Click on Properties > Advanced > Environment Variables.
You can change PATH in "User variables" or "System" variables. Changing it in "User
variables" only makes the change for the current user. Changing "System" variables
makes the change for all users. It's probably safer to change "User variables" in
case you make a mistake.
Find PATH in the list and click on it. If you want to add a path, click on the "Variable
value:" window and go to the end. You can go to the end by using the right arrow
key, but it's generally faster to use the "END" key. Don't insert any spaces, just
type the semicolon which is used as a separator, followed by the desired path.
For the change to have an effect, you will need to exit from any current cmd.exe
windows, and restart a new cmd.exe window.
On Friday, November 21, 2003 at 11:57 pm, Melvin Woody wrote:
>I've followed instructions in XP in a Nutshell to change the path under cmd.exe.
> But the changes disappear when I open cmd.exe again. How can I add to the path
>once and for all. This seems crucial for using my DOC apps.
>
[Reply or follow-up to this message]
|
re: Change XP path & make it stick
Saturday, November 22, 2003 at 7:21 am Posted by dennis
(9 messages posted)
It appears that when you open up a command prompt
(cmd.exe), two files are used autoexec.nt and config.nt, both located in the
windows\system32 folder. You should be able to edit these to include a PATH
variable or any other command you may need to run your dos program. Both of these
contain some rem notes that may answer other questions you may have...
On Friday, November 21, 2003 at 11:57 pm, Melvin Woody wrote:
>I've followed instructions in XP in a Nutshell to change the path under cmd.exe.
> But the changes disappear when I open cmd.exe again. How can I add to the path
>once and for all. This seems crucial for using my DOC apps.
>
[Reply or follow-up to this message]
|