Path not setting - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Path not setting

pnagarpnagar Posts: 2Member
Hi,

I'm trying to set a new system variable by installing a console application(in MFC). It's working -- I'm seeing the new variable appear in:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment

But when i am running my console Applicaton, its not running properly. When I issue a SET command, variables are not there. If I close the Cmd window and reopen it, also it is not there.
Can any one tell me the root cause of this problem.
I am using Microsoft Windows Server 2003 Enterprise Edition machine. This is happening only on Windows Server 2003 Enterprise Edition machine.

Thanks in Advance
Pradeep
Sign In or Register to comment.