본문 바로가기

Microsoft/Windows Server 2008

SETX 명령어

Creates or modifies environment variables in the user or system environment, without requiring programming or scripting.

사용자 환경변수 및 시스템 환경 변수를  생성하고 수정 할수 있다.

Setx 명령어는 그밖에 registry 값들을 가져올수 있고, 그 값을 텍스트파이로 쓸수 있다.


C:\> setx path "%PATH%;이부분에추가"