Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to load/refresh environment variables WITHOUT leaving command prompt?

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 15-05-2009
Member
 
Join Date: Feb 2006
Posts: 185
How to load/refresh environment variables WITHOUT leaving command prompt?

Lets take an example, I start a command prompt and then the command prompt takes the current enviroment variables. After that I changed some of the enviroment variables and then these changes are not visible in the opened command prompt. So, can anyone tell me a way of doing a refresh, that is update environment varibles, without exiting and rebooting the command prompt? Thanks.

Reply With Quote
  #2  
Old 15-05-2009
Member
 
Join Date: Aug 2005
Posts: 822
Re: How to load/refresh environment variables WITHOUT leaving commandprompt?

When you type set in your command prompt window, you will see the current variables. It can be adjusted, added and then deleted via My Computer > Properties > Control Panel > Advanced > Environment Variables. Incase, you make changes in the window and do not see them, then you might not understand the usage of the set command, use set /? to see options. But these changes are only or the duration of the Window. Some restrictions apply changes Windows Lets you make with this method:
http://support.microsoft.com/kb/310519
Reply With Quote
  #3  
Old 15-05-2009
Member
 
Join Date: Oct 2005
Posts: 918
Re: How to load/refresh environment variables WITHOUT leaving commandprompt?

I think that with the older DOS versions you can try to SET the enviroment any time.
Reply With Quote
  #4  
Old 15-05-2009
Member
 
Join Date: Nov 2005
Posts: 930
Re: How to load/refresh environment variables WITHOUT leaving command prompt?

Could you please tell us how are you changing the environment variables? The command SET without parameters, displays environment variables.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to load/refresh environment variables WITHOUT leaving command prompt?"
Thread Thread Starter Forum Replies Last Post
How to use Windows 7 Recovery Environment Command Prompt Head-Hunter Tips & Tweaks 2 12-07-2010 04:28 PM
What are an Environment Variables in PHP? N I C K Software Development 5 21-02-2010 01:29 AM
c# environment variables EULALIA Software Development 3 13-07-2009 02:23 PM
How to change/add environment variables from command line PERMANENTLY? Moiz Windows XP Support 2 01-04-2009 05:46 PM
Setting environment variables? Chaz Vista Help 3 18-01-2009 09:22 AM


All times are GMT +5.5. The time now is 07:51 AM.