[펌글] 윈도우 경로 지정법
2008. 8. 1. 00:17 |
XP
출처 : http://www.particlesoftware.com/en/variables.html
가장 마지막줄에 보면 XP랑 비스타 언급이 없네요.
즉 오래된 자료 같습니다.
따라서 모든 경로가 다 먹히지는 않을겁니다.
아래 첫 문단에도 설명이 되어 있구요.
XP 튜닝하시는 분들이 많으신데
조금이나마 도움 되실까봐 포스팅합니다.
(몇가지 확인해보니 되는게 별로 없네요 ^^;;)
In large installations its common to use many different versions of Windows. IntraLaunch excels in these non-homogeneous desktop environments by using its built in macros, variables and functions to help dynamically address workstation indifferences. Each Windows version, user, profile, etc. all have different paths and locations for directories such as My Documents, Desktop, Windows, IE History, etc. IntraLaunch 4.1 and higher lets you manage these differences through variables by determining the correct path for the currently logged in user and automatically substituting it at run time when the user clicks a given IntraLaunch object.
Below is a list of all support variables. Not all variables work in all versions of Windows. All variables are case sensitive. Only the parameters Run, RunParms, DefDir and Log will process variables.
Example - run notepad.exe specifically held in the workstations Windows directory, open the file sales.txt currently on the users desktop, and make the default working directory for notepad the users My Documents folder, no matter where these actual folders exist IntraLaunch automatically determines the correct paths:
<PARAM NAME="Run" VALUE="%windir%\notepad.exe">
<PARAM NAME="RunParms" VALUE="%desktop%\sales.txt">
<PARAM NAME="DefDir" VALUE="%mydocuments%">
Example - explore Internet Explorer's cache:
<PARAM NAME="Run" VALUE="%windir%\explorer.exe">
<PARAM NAME="RunParms" VALUE="%internet_cache%">
가장 마지막줄에 보면 XP랑 비스타 언급이 없네요.
즉 오래된 자료 같습니다.
따라서 모든 경로가 다 먹히지는 않을겁니다.
아래 첫 문단에도 설명이 되어 있구요.
XP 튜닝하시는 분들이 많으신데
조금이나마 도움 되실까봐 포스팅합니다.
(몇가지 확인해보니 되는게 별로 없네요 ^^;;)
In large installations its common to use many different versions of Windows. IntraLaunch excels in these non-homogeneous desktop environments by using its built in macros, variables and functions to help dynamically address workstation indifferences. Each Windows version, user, profile, etc. all have different paths and locations for directories such as My Documents, Desktop, Windows, IE History, etc. IntraLaunch 4.1 and higher lets you manage these differences through variables by determining the correct path for the currently logged in user and automatically substituting it at run time when the user clicks a given IntraLaunch object.
Below is a list of all support variables. Not all variables work in all versions of Windows. All variables are case sensitive. Only the parameters Run, RunParms, DefDir and Log will process variables.
Example - run notepad.exe specifically held in the workstations Windows directory, open the file sales.txt currently on the users desktop, and make the default working directory for notepad the users My Documents folder, no matter where these actual folders exist IntraLaunch automatically determines the correct paths:
<PARAM NAME="Run" VALUE="%windir%\notepad.exe">
<PARAM NAME="RunParms" VALUE="%desktop%\sales.txt">
<PARAM NAME="DefDir" VALUE="%mydocuments%">
Example - explore Internet Explorer's cache:
<PARAM NAME="Run" VALUE="%windir%\explorer.exe">
<PARAM NAME="RunParms" VALUE="%internet_cache%">
Variable | Description |
%yourvariable% | Custom Variable |
Any variable seen by the shell. IntraLaunch 4.8 and higher required. Can only be used with GetVariable(). | |
%windir% | Windows directory |
Eg. C:\WINNT | |
%sysdir% | Windows system folder |
Eg. C:\WINNT\SYSTEM32 | |
%program_files% | Program Files directory |
Eg. C:\Program Files | |
%program_files_common% | Program Files\Common Files |
Eg. C:\Program Files\Common Files | |
%desktop% | Desktop folder |
Eg. C:\Documents and Settings\Administrator\Desktop | |
%startmenu% | Start Menu folder |
Eg. C:\Documents and Settings\Administrator\Start Menu | |
%startmenu_programs% | Start Menu - Programs folder |
Eg. C:\Documents and Settings\Administrator\Start Menu\Programs | |
%startmenu_startup% | Start Menu - Startup folder |
Eg. C:\Documents and Settings\Administrator\Start Menu\Programs\Startup | |
%mydocuments% | My Documents folder |
Eg. C:\Documents and Settings\Administrator\My Documents | |
%favorites% | Favorites folder |
Eg. C:\Documents and Settings\Administrator\Favorites | |
%recent% | Recently used folder |
Eg. C:\Documents and Settings\Administrator\Recent | |
%sendto% | SendTo folder |
Eg. C:\Documents and Settings\Administrator\SendTo | |
%user_desktop% | Desktop folder |
Eg. C:\Documents and Settings\Administrator\Desktop | |
%fonts% | Fonts folder |
Eg. C:\WINNT\Fonts | |
%templates% | Templates folder |
Eg. C:\Documents and Settings\Administrator\Templates | |
%common_startmenu% | Common Start Menu folder |
Eg. C:\Documents and Settings\All Users\Start Menu | |
%common_startmenu_programs% | Common Start Menu - Programs |
Eg. C:\Documents and Settings\All Users\Start Menu\Programs | |
%common_startmenu_startup% | Common Start Menu - Startup |
Eg. C:\Documents and Settings\All Users\Start Menu\Programs\Startup | |
%common_desktop% | Common desktop folder |
Eg. C:\Documents and Settings\All Users\Desktop | |
%appdata% | Application Data folder |
Eg. C:\Documents and Settings\Administrator\Application Data | |
%internet_cache% | IE cache folder |
Eg. C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files | |
%cookies% | IE Cookies folder |
Eg. C:\Documents and Settings\Administrator\Cookies | |
%history% | History folder |
Eg. C:\Documents and Settings\Administrator\Local Settings\History | |
%mypictures% | My Pictures folder |
Eg. C:\Documents and Settings\Administrator\My Documents\My Pictures | |
%profile% | Users profile root folder |
Eg. C:\Documents and Settings\Administrator | |
%nethood% | Network neighborhood |
Eg. C:\Documents and Settings\Administrator\NetHood | |
%common_templates% | Common templates folder |
Eg. C:\Documents and Settings\All Users\Templates | |
%common_documents% | Common documents folder |
Eg. C:\Documents and Settings\All Users\Documents | |
%username% * | Username of user logged in |
Eg. Administrator | |
%userdomain% * | Domain user is currently part of |
Eg. DOMAINNAME | |
%tmpfolder% * | Path to TMP folder |
Eg. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp | |
%tempfolder% * | Path to TEMP folder |
Eg. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp | |
%systemdrive% * | Drive letter of system drive |
Eg. C: | |
%os% * | Name of operating system in use |
Eg. Windows_NT | |
%homepath% * | Typicall path to root |
Eg. \ | |
%homedrive% * | Path home drive is on |
Eg. C: | |
%comspec% * | Full path to command interperter |
Eg. C:\WINNT\system32\cmd.exe | |
%computername% * | Name of workstation |
Eg. COMPUTERNAME | |
|
'XP' 카테고리의 다른 글
윈도우 XP 순수 이미지 해쉬값 (21) | 2009.05.19 |
---|---|
XP에서 인터넷 속도 향상시키기 (8) | 2009.04.10 |
OEM XP CD 만들기 (68) | 2009.03.21 |
XP 미디어 센터 에디션 Royale 테마 (에너지 블루) (21) | 2009.02.03 |
윈도우 7 테마 for XP (56) | 2009.01.17 |
XP SP3에서 작업표시줄 도구모음에 주소 표시줄 나타나지 않는 문제 (12) | 2008.12.20 |
XP 테마 패치 (UxTheme) (9) | 2008.08.26 |
XP용 마이크로소프트 주요 다운로드 (6) | 2008.06.03 |
최근에 달린 댓글 최근에 달린 댓글