Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

encom

Registry

This topic is 5227 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi i add in registry userSpace : HCU/Environment/myVar = "d:\bin"; then i add myVar to path (in registry) (path = %path%;%myVar%) but echo %path% writes : "C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;%myVar%" !!!!!! Why %myVar% is not "d:\bin" ? thanks

Share this post


Link to post
Share on other sites
Advertisement
what is a system/environment variable ?
how to make a system/environment variable ?

Share this post


Link to post
Share on other sites
I would like to make it permanent, not volatile (just for a process), i think, SetEnvironmentVariable is just for the process !

Share this post


Link to post
Share on other sites
quote:
Original post by encom
You are exempted idiotic comments!
You aren''t. Given several pointers to information from Microsoft''s MSDN database, that you failed to search (or at least indicate that you''ve searched) suggests a "spoonfed" mentality which is detrimental to a developer. Finding things out on your own (rather than running to a forum and asking breathless, panicky questions at first frustration) is a core part of becoming a competent developer. The failure to realize and abide by this will result in curiosities like "developing" your own game engine but having no idea how to make a game from it (with apologies to Promit).

So, RTFM.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!