You are not logged in.

#1 05 Oct 2015 02:35

joskuzera
Member
Registered: 05 Oct 2015
Posts: 5

Environment Variable Help!

I have been messing around with environment variables and was wondering if there was a way to change them but only to the current session of cmd? So i don't mess things up to hard on my computer? Is there can you please explain it to me?

Offline

#2 05 Oct 2015 06:59

Shadow Thief
Member
Registered: 12 Jul 2012
Posts: 205

Re: Environment Variable Help!

Environment variables will only keep their values for the duration of the current command session by default. You don't have to worry about anything.

Offline

#3 05 Oct 2015 08:27

foxidrive
Member
Registered: 04 Apr 2013
Posts: 339

Re: Environment Variable Help!

Shadow Thief wrote:

You don't have to worry about anything.

Just passing this exam, it seems to me. wink
I see schoolwork questions in everything I read these days - maybe I'm just jealous that the Internet wasn't around for me to cheat so easily when I was young.


Kudo's to you for answering Shadow Thief.

Last edited by foxidrive (05 Oct 2015 08:30)

Offline

#4 05 Oct 2015 13:53

joskuzera
Member
Registered: 05 Oct 2015
Posts: 5

Re: Environment Variable Help!

Thanks for the answer, it was for school work im not going to lie, but i did look on MSDN for answers but maybe just my fault i really couldnt find anything clear becuase it always showed the changing of environment variables via not the command window...

Offline

#5 05 Oct 2015 17:21

Shadow Thief
Member
Registered: 12 Jul 2012
Posts: 205

Re: Environment Variable Help!

joskuzera wrote:

maybe just my fault i really couldnt find anything clear

Don't feel bad; MSDN is almost impossible to search through. I generally just Google "<language_name> <thing_I'm_looking_for>"

Offline

Board footer

Powered by