setx.exe high cpu usage code example Example: how to use setx path setx PATH "%PATH%;C:\Python27\;C:\Python27\Scripts\"