Win7 |
Command 라인에서 clip.exe 사용하기홍사훈 0건 2,049회 15-03-08 20:16 |
---|
관련링크
본문
윈도우7 Command Line에서 파일이나 명령어의 출력결과를 클립보드로 담을 수 있다.
윈도우XP용 clip.exe 다운로드
C:\> <command> | clip
C:\> clip < filename.txt
C:\> type filename.txt | clip
※ 레지스트리를 수정하여, 마우스 오른쪽 버튼 메뉴로도 clip.exe 기능을 추가할 수 있다.
[CopyContentsToClipboardTXT.reg]
Windows Registry Editor Version 5.00
; add a context menu item to allow you to copy text files to the clipboard
; howtogeek.com
[HKEY_CLASSES_ROOT\txtfile\shell\copytoclip]
@="Copy to Clipboard"
"Extended"=""
[HKEY_CLASSES_ROOT\txtfile\shell\copytoclip\command]
@="cmd /c clip < \"%1\""
[RemoveCopyContentsToClipboard.reg]
Windows Registry Editor Version 5.00
; Remove the copy contents to clipboard hack
; howtogeek.com
[-HKEY_CLASSES_ROOT\txtfile\shell\copytoclip]
등록된 댓글이 없습니다.