Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

환경 변수 등록 하는 방법?

33 views
Skip to first unread message

demiahn

unread,
Oct 15, 2008, 9:09:40 PM10/15/08
to
일반적으로 아래 경로를 통해 환경 변수를 등록시키는데요.

"내 켬퓨터"
|
|__"시스템 등록 정보"
|
|__"고급"
|
|__"환경 변수"

C/C++ 프로그램을 통해 환경 변수를 등록시키는 방법이 없을까요?
putenv()나 getenv()는 프로그램이 종료되고 나면 없어지잖아요.
프로그램이 종료되어도 등록되어져 있어서 이후 전역으로 사용할 수 있게 하는
방법이 있을까요?

보통 S/W 설치하면 환경변수가 등록 되잖아요.
그런 걸 보면 뭔가 방법이 있을 것 같은데...
고수님들 답변 부탁드립니다.


TrustDanTe

unread,
Oct 17, 2008, 10:06:33 AM10/17/08
to
http://1and0.tistory.com/entry/프로그램밍적으로-환경변수-등록하기
0 new messages