Jump to content

Recommended Posts

Posted

Sorry, can you elaborate a bit, I can't make out the intention from your post.

 

Are you trying to set the userprofile environment variable to point somewhere, or are you trying to make a new environment variable?

 

Are you in an AD network?

Posted
Sorry, can you elaborate a bit, I can't make out the intention from your post.

 

Are you trying to set the userprofile environment variable to point somewhere, or are you trying to make a new environment variable?

 

Are you in an AD network?

 

i am trying to make a new environment variable

 

just as illustrated

 

class.JPG

Posted

Those custom variables are held in the registry [HKEY_CURRENT_USER\Environment]

 

You could write a VB script which will add them at logon, or use REGEDIT in silent mode to import a .REG file with the necessary additions in.

 

Mike.

  • Thanks 1
Posted
As maniac said, you could script this quite easily in a login script something along the lines of:

 

SET CLASSTMP=W:\TEMP

 

Didn't know about that command, even easier than the method I was suggesting!

Posted
Didn't know about that command, even easier than the method I was suggesting!

 

It's quite handy for quick stuff like that.

 

If you use set without any arguments/parameters it'll helpfully show you all of the current environment variables.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...