Windows 7 無獨立「剪貼板檢視器」介面 (XP 有 `clipbrd.exe`),但內建命令列工具 `clip.exe` 可讀取/寫入剪貼板文字內容。
clip 並按 Enter → 若剪貼板有文字,將直接輸出到主控台視窗。clip /? 顯示說明 (僅支援讀取/寫入,無互動介面)。ipconfig | clip
dir /b | clip
type log.txt | clip
執行後剪貼板即含命令輸出文字,可直接 `Ctrl+V` 貼上到記事本/郵件/文件。
# 讀取剪貼板文字
Get-Clipboard
# 寫入剪貼板
"Hello World" | Set-Clipboard
Get-Process | Select-Object Name, CPU | Set-Clipboard
# 讀取剪貼板圖片/檔案清單
Get-Clipboard -Format Image
Get-Clipboard -Format FileDropList
PowerShell 5.1+ (Win7 需另裝) / PowerShell Core 6+ 原生支援。
`clip.exe` 僅處理文字,圖片/檔案/RTF 格式無法透過此工具存取。需用 PowerShell 或第三方工具。