Modifying Windows Path from the CMD

This is one I need to do surprisingly regularly, adding a new folder to PATH on windows. This is it now:

C:\Users\lsmith>echo %PATH%
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Amazon\AWSCLIV2\;C:\Users\lsmith\AppData\Local\Microsoft\WindowsApps;C:\Users\lsmith\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\lsmith\AppData\Local\Programs\Git\cmd

I create a folder in the root of my user folder called Apps to house miscellaneous exe's I like to have access to.

setx PATH "%PATH%;C:\Users\lsmith\Apps"

Despite what re-running that first command tells you, it has worked! Need to open a new cmd window in order to get it to pick it up.

C:\Users\lsmith>echo %PATH%
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Amazon\AWSCLIV2\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Amazon\AWSCLIV2\;C:\Users\lsmith\AppData\Local\Microsoft\WindowsApps;C:\Users\lsmith\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\lsmith\AppData\Local\Programs\Git\cmd;C:\Users\lsmith\Apps