How to change PATH on windows

How can I change my PATH variable on a windows machine to add a new path ?

I have seen this post but it does not talk about windows.

I have tried - run: setx path "C:\Users\circleci\XX" but it does not work

I am currently using these :

executors:
  windows:
    machine:
      image: windows-server-2019
      resource_class: windows.medium
    shell: cmd.exe

orbs:
  windows: circleci/windows@1.0.0