희한하게도 국내사이트에는 cmd 명령어 관련 사이트들이 몇몇없다. -_-;;
아래는 절대경로 요약..
| Variable | Sample Typical Value |
|---|---|
| %SystemDrive% | C: |
| C:\WINDOWS C:\WINNT | |
| %WinDir% | C:\WINDOWS C:\WINNT |
| %SystemDirectory% | C:\WINDOWS\System32 C:\WINNT\System32 |
| %ComSpec% | C:\WINDOWS\system32\cmd.exe The path including the command interpreter program. |
| %programfiles% | C:\WINDOWS\Program Files |
| %Temp% | C:\Users\W\AppData\Local\Temp on Windows Vista & 2008 C:\DOCUME~1\Usr\LOCALS~1\Temp (compressed form of) C:\Documents and Settings\Usr\Local Settings\Temp |
| %Tmp% | |
| %HOMEDRIVE% | C: The drive letter associated with the user's home directory |
| %HOMEPATH% | The path to the user's home directory as defined in UMD/AD (excluding drive): \Users\<USERNAME> on Windows Vista & 2008 \Documents and Settings\Guest on Windows XP |
| %OS% | Windows_NT (even on Windows Vista & XP machines The operating system the user is running |
| %USERDOMAIN% | The name of the domain that contains the user's account. On a stand-alone machine, the same as the machine name. |
| %USERNAME% | The user's name |
| %USERPROFILE% | C:\Users\<USERNAME> — The user's root folder |
| %USERPROFILE%\Desktop | The user's desktop folder |
| Variable | Sample Typical Value |
|---|---|
| %CD% | The current directory. |
| %DATE% | Current date in the format set by the Date command |
| 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. |
cmd명령어에관해 자세한 설명이 있는곳
http://home.att.net/~gobruen/progs/dos_batch/dos_batch.html
service 항목에 관해 자세한 설명이 있는곳
http://www.blackviper.com/WinXP/servicecfg.htm




덧글