#title 탐색기에서 명령창(cmd, command prompt) 열기 [http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm 1차 출처 : Petri IT Knowledgebase by Daniel Petri] [http://hayani.egloos.com/2760387 2차 출처 : 하얀아이 블로그] == 방법 1 : Microsoft Powertoys == == 방법 2 : Send to Toys == == 방법 3 : Manually add the context menu == 1. 탐색기에서 '도구' > '폴더 옵션' 1. '파일 형식' 탭 선택 1. '파일 형식'열의 '폴더'를 선택한 후 하단의 '고급' 버튼 클릭 1. '새로 만들기' 버튼을 누른 후 명령에 '여기에 명령창 열기', 명령을 실행할 프로그램에 'cmd.exe'를 각각 입력 > 확인 1. 탐색기에서 드라이브나 폴더에서 오른쪽 우클릭 메뉴를 호출하면 '여기에 명령창 열기'라는 항목이 표시된다. 이제 탐색기의 어떤 폴더에서도 오른쪽 마우스키를 클릭하면 '여기에 명령창 열기'라는 메뉴가 표시된다. == 방법 4 : Through batch file == == 방법 5 : Through the Registry == == 원문 == {{{#!folding 내용 원문 Add Command Prompt Here Shortcut to Windows Explorer by Daniel Petri - January 7, 2009 How can I add a Command Prompt option to the default Explorer right click context menu? If you find that you frequently open a Command Prompt window and change to a specific directory, you can add the Command Prompt to your shortcut menu. This option enables you to right-click on a folder within Windows Explorer and choose the Command Prompt - which opens a Command Prompt window with that folder as your active directory. To add the Command Prompt option to the default right click context menu in Windows Explorer you can do one of the following: Note: For Windows Vista this feature is already built in the operating system. Read Quickly Open Command Prompt Here in Windows Vista for more info. Method #1: Microsoft Powertoys This is the easiest and most idiot-proof method. Use the old Microsoft Powertoy called "DOSHERE". You can download it from HERE (1kb). Unzip it and then right click the INF file and choose install. You can also use the newer MS Powertoys found HERE. Download the Open Command Window Here file and install it. Method #2: Send to Toys One of my favorite tools, one that I usually install right after finishing setting up any new system. Send To Toys is an enhancement of the Send To system menu. It has many nice features including: * Send To Toys Control Panel Applet allows you to manage the Send To system menu content, and configure Send To Toys settings. * "Add to Send To menu" and "Remove from Send To menu" allows you to personalize the Send To system menu for drives, folders, and programs. * Send To "Clipboard (as name)" copies the name of the file or files to the clipboard. Hold down the CTRL key to change the settings for this extension. * Send To "Command Prompt" opens a DOS console window, setting the current directory to the selected folder. If the selection was a file, the folder containing the file will be the active directory and the name of the file will be typed for you at the prompt. Hold down the CTRL key to change the active directory to a different folder * Send To "Favorites" adds a shortcut to your Favorites list. Hold down the CTRL key for the "Add Favorite" dialog. * Send To "Folder..." sends a file or files to another folder, you will be shown a dialog box that lets you choose where the files should be copied. To move the files press and hold down the SHIFT key. The creation of a new folder is not supported on Windows 95, 98, and NT. * Send To "Recycle Bin" send a file or files to the Recycle Bin. Hold down the CTRL key to perform a file shredding. * Send To "Run..." sends a file or files to the Run command dialog Send to Toys is freeware and can be installed on any version of Windows. Download Send to Toys v2.4 (527kb) Method #3: Manually add the context menu 1. In explorer, open Tools, Folder Options. 2. Select the File Types tab. 3. For Windows XP: Go to NONE / Folder. 4. For Windows 2000: Press n to scroll to the N/A section. 5. For Windows NT/98/95: Press f to scroll to the Folders section. 6. Select the entry labeled Folder 7. For Windows 2000/XP: Press Advanced button. 8. For Windows NT/98/95: Press Edit button. 9. Select New 10. In the action block type "Command Prompt" without the quotes. 11. In the app block type "cmd.exe" without the quotes. 12. Save and exit Folder Options. Now right click on Start, you should have a new drop down option. Open explorer and right click on a folder, select Command Prompt and a command window opens in that folder. Read this thread for some information on how to remove the context menu: Command Prompt Quickie - Petri.co.il forums by Daniel Petri Method #4: Through batch file 1. Begin by creating a batch file. For example, you could create a batch file named StartPrompt.cmd. Add the following commands to your batch file: @echo off cd /d %1 Title %~f1 1. Save this batch file to your Windows NT/2000/XP root directory (which is usually C:\WINNT or C:\WINDOWS for XP). 2. Open Windows Explorer. 3. Choose View | Options to display the Options dialog box. 4. Select the File Types tab. 5. In the list of Registered File Types, select Folder then click Edit. 6. Click New to display the New Action dialog box. 7. In the Action text box, type Command Prompt. 8. In the Application Used To Perform Action text box, type: cmd.exe /a /k c:\winnt\StartPrompt "%l" 1. Click OK to close the New Action dialog box, then click Close twice. Open Windows NT Explorer, then right-click on a folder. You should now see a new option called "Command Prompt" on the shortcut menu. If you choose this option, Windows Explorer opens a new Command Prompt window with the selected directory as your current directory. Method #5: Through the Registry 1. Navigate in your Registry to HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell and create a key called "Command Prompt" without the quotes. 2. Set the default string to whatever text you want to appear in the right-click menu. 3. Create a new key within your newly created command prompt named "command," and set the default string to cmd.exe /k pushd %1 You may need to add %SystemRoot%\system32\ before the cmd.exe if the executable can't be found. 4. The changes should take place immediately. Right click a folder and your new menu item should appear. Note: You can do the same for Windows 98. Type in "c:\windows\command.com /k pushd %1" (without the quotes). }}}