Annoyances.org
Home » Windows XP Discussion Forum » Message 1069487834 » Entire Thread Search | Help | Home
  
Change XP path & make it stick
Showing all messages in thread #1069487834
Windows XP Annoyances Discussion Forum


The following are all of the messages in this thread (3 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
Change XP path & make it stick
Friday, November 21, 2003 at 11:57 pm
Posted by Melvin Woody (1 messages posted)

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]

Tip: Run a free scan for common Windows errors ad

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]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows XP Discussion Forum


All content at Annoyances.org is Copyright © 1995-2009 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.