System Environment Variable

일을하다가 현재 System Variable 몇개가 필요해서 찾으려고 했더니 Help등에서는 찾기가 힘들었다.
그래서 구글에서 단어 몇개 때렸더니.. 역시나 구글.. 잊어 먹을까봐 여기다 정리한다. ^^..
원저작자의 링크는 맨 아래에. ^^..

- Windows System Variables -
  • %SystemDrive%
            C:
  • %SystemRoot%
            C:\WINNT
            C:\WINDOWS
  • %WinDir%
            C:\WINNT
            C:\WINDOWS
  • %SystemDirectory%
            C:\WINNT\System32
            C:\WINDOWS\System32
  • %ComSpec%
            C:\WINNT\system32\cmd.exe
  • %programfiles%
            C:\WINNT\Program Files
  • %Temp%
  • %Tmp%
            C:\DOCUME~1\Usr\LOCALS~1\Temp from
            C:\Documents and Settings\Usr\Local Settings\Temp
  • %HOMEDRIVE%
         
    C: The drive letter associated with the user's home directory
  • %HOMEPATH%
           The path to the user's home directory (excluding drive):
           \Documents and Settings\Guest
  • %OS%
            Windows_NT (even on Windows XP machines
            The operating system the user is running
  • %USERDOMAIN%
           The name of the domain that contains the user's account
  • %USERNAME%
           The user's name
  • %USERPROFILE%
  • %USERPROFILE%\Desktop
           The user's desktop folder
  • %CD%
           The current directory.
  • %DATE%
           Current date in the format set by the Date command
  • %TIME%
           Current time in the format set by the Time command
  • %ERRORLEVEL%
           A number defining exit status of a previous command or called executable.
  • %RANDOM%
           A random number between 0 and 32767
- UNIX Environment Variables -
  • $LOGNAME
            user name used for login
  • $USER
            user name (sude)
  • $UID
          user name
  • $SHELL
          directory containing OS shell executables
  • $PATH
           directories containing executables, searched to find applications when no absolute path is specified on the command line.
  • $LD_LIBRARY_PATH
           path to system and user libraries
  • $MANPATH
           directory containing manuals
  • $HOME
           directory of user's home directory
  • $TZ
         
    time zone, such as "US/Mountain"
  • $BASH
         
    path to the shell on the file system.
  • $HOSTNAME
            name of the current system.
  • $PPID
            parent process ID
  • $WINDOWMANAGER
            name of the X11 window manager
  • $COLUMNS
            The column width for the terminal
  • $DISPLAY
            The display variable used for X11 graphics.
참고글 : http://www.wilsonmar.com/1envvars.htm

by 미친괭이 | 2007/07/02 09:38 | Programming | 트랙백 | 덧글(0)

트랙백 주소 : http://ultracat.egloos.com/tb/3559702
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]

:         :

:

비공개 덧글

◀ 이전 페이지          다음 페이지 ▶