refresh environment variables without reboot windows 10

description: Add a windows environment varibale without rebooting the computer

process to refresh environment variables without reboot windows

  • open cmd commend prompt window
  • input set PATH=C -> this will refresh the environment variables
  • close and restart cmd window
  • input echo %PATH% to test