vs 2022 C++ system variables temporary?

Richard Groller 111 Reputation points
2022-05-29T18:19:01.24+00:00

My PC is used for multiple purposes. I do not and cannot mess up the system variables like PATH. I am learning C++. The tutorial has a chapter about using command line statements. they require vs 2022 C++.system variables including PATH. There is a bat file that sets up the vs 2022 C++.system variables in the vc build folder. If I run the bat file, are the vs 2022 C++.system variables temporary? and if I reboot, will the system variables go back to their original settings?

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
0 comments No comments
{count} votes

Answer accepted by question author
  1. RLWA32 51,016 Reputation points
    2022-05-29T18:48:23.477+00:00

    The environment variables that are set by the various batch files installed by vs 2022 such as the developer command prompt are only in effect for the command prompt window that the batch files open.

    When you close one of these command prompt windows the environment variables that were set go out of existence with them. Afterwards, it is not necessary to reboot your system.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.