updating Path variable using c++ programme

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • momotaro
    Contributor
    • Sep 2006
    • 357

    updating Path variable using c++ programme

    I tried to update the system variable Path by adding a string to the already existing value using a .reg and batch files, in vein.
    Can someone help me do that using c++ please?

    thank you.
Working...