Check out example codes for "shortcut to launch windows environment variables". It will help you in understanding the concepts better.

Code Example 1

rundll32.exe sysdm.cpl,EditEnvironmentVariables

Learn ReactJs, React Native from akashmittal.com