Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7929881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:14:04+00:00 2026-06-03T20:14:04+00:00

There are two methodologies to defining environment variables on Windows. I have seen examples

  • 0

There are two methodologies to defining environment variables on Windows. I have seen examples using ‘system’ variables and mere ‘environment’ ones. What are the differences and consequences to using the one method over the other?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T20:14:06+00:00Added an answer on June 3, 2026 at 8:14 pm

    Variables like %SystemRoot% and %WinDir% are just plain environment variables. The only difference is where their values come from:

    • The system environment variables are predefined and determined by setup. This Technet article, “Using environment variables with Cmd.exe” section, lists their names,
      do note that it is out of date and doesn’t cover 64-bit specific variables
    • The configurable system wide environment variables defined in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment registry key, effective for any user
    • The configurable user specific environment variables defined in the HKEY_CURRENT_USER\Environment registry key.

    The effective process environment is a merge of these three sources.

    The latter two registry keys can be edited from the Control Panel + System applet, Environment Variables button. Beware that making the changes effective may require a logoff + logon so the process starts with a fresh copy of the environment instead of a stale one it inherits from its parent process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read a document that they say: In java there two types of
There are two objects. The Windows Form with a button and a progress bar,
I have datatable and there two column which is type of string and I
I have a client-server application, where there two options for the server - standalone
Hi i have notice there two date times facebook gives, one is a date
I have the following problem: There two separate vCenters (ESXi). They cannot see each
I have a situation where there two related large python classes and hence i
I am using TortoiseGit for Windows. I see two branches on remote/origin: HEAD 20
Why are there two classes for almost the same purpose System.IO.File and System.IO.FileInfo ?
There are two things that seem to be popular nowadays and I was wondering

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.