Share via

set path command, Win 10

Anonymous
2017-12-03T18:33:22+00:00

I am using the flowing path command:

set path=%path%;C:\Users\Dieter\AppData\Local\Programs\Python\Pytjon36-32

It works.

In the command prompt I can type 'python' and I get the python interpreter.

The problem: when I close the DOS window and reopen it later, the Path has returned to its original setting. My update to the Path command has been forgotten.

I am using Command Prompt Admin for this work.

Is there something wrong with my authority on my computer?

Any pointers will be appreciated.

Dieter

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2017-12-03T22:15:31+00:00

    For Value, I put in this string: C:\Users\Dieter\AppData\Local\Programs\Python\Python36-32

    For Variable I chose an arbitrary word, e.g., Python1

    You must add the Python path value to the existing Path variable.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-12-03T18:45:23+00:00

    Is there something wrong with my authority on my computer?

    -> No, this is the way it works. Any change you make in a child process (e.g. in cmd.exe) is lost when you close this process. It is not passed back to the parent process. To make the change permanent you must make here:

    Control Panel / System / Advanced System Settings / Environmental Variables.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2017-12-03T21:54:40+00:00

    Is there something wrong with my authority on my computer?

    -> No, this is the way it works. Any change you make in a child process (e.g. in cmd.exe) is lost when you close this process. It is not passed back to the parent process. To make the change permanent you must make here:

    Control Panel / System / Advanced System Settings / Environmental Variables.

    Thank you, Frederik,

    I still must be missing something.

    For Value, I put in this string: C:\Users\Dieter\AppData\Local\Programs\Python\Python36-32

    For Variable I chose an arbitrary word, e.g., Python1

    The arbitrary word choice might be an error.

    Could yo enlighten me further?

    Thank you,

    Dieter

    0 comments No comments