Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 使用指令提示字元複製硬碟資料:copy 指令完整教學

編輯:Windows 7 系統介紹

當圖形介面無法操作(如進入安全模式、PE 環境)時,Win7 內建的 copy 指令可快速複製檔案,支援跨磁碟、重新命名等進階用法。

命令提示字元介面

開啟命令提示字元

  1. 按 Win+R 開啟「執行」。
  2. 輸入 cmd 按 Enter。

基本複製語法

copy 來源路徑 目標路徑

實用範例

需求指令範例說明
複製 C 槽 test.txt 到 D 槽copy c:\test.txt d:\保留原檔名
複製並重新命名copy c:\test.txt d:\test2.txt目標指定新檔名
複製多個檔案(萬用字元)copy c:\*.doc d:\backup\複製所有 .doc 檔
合併文字檔copy a.txt + b.txt c.txt將 a、b 內容合併存為 c

進階參數

  • /Y:覆寫時不提示確認(預設行為)
  • /-Y:覆寫前提示確認
  • /V:驗證寫入正確性
  • /Z:可重新啟動模式(適用網路複製中斷續傳)
提示:複製資料夾請使用 xcopy 或 robocopy,功能更強大且支援遞迴、權限保留等進階選項。
Copyright © Windows教程網 All Rights Reserved