:: reverse dictionary ::
確認メッセージを省略して上書きコピーするには、xcopy コマンドに次の3つを指定して実行します。
D:ディレクトリ F:ファイル [サイズ] D C:\MyDir ├ F sample01.txt 373 ├ F sample02.txt 425 └ D SubDir ├ F sample01.txt 382 └ F sample02.txt 432
C:\MyDir>xcopy sample01.txt SubDir /y
C:sample01.txt
1 個のファイルをコピーしました
C:\MyDir>dir SubDir
ドライブ C のボリューム ラベルがありません。
ボリューム シリアル番号は A1B2-C3D4 です
C:\MyDir\SubDir のディレクトリ
2005/06/22 01:07 <DIR> .
2005/06/22 01:07 <DIR> ..
2005/04/06 01:10 373 sample01.txt
2005/04/06 01:47 432 sample02.txt
2 個のファイル 805 バイト
2 個のディレクトリ 98,765,432,100 バイトの空き領域
xcopy 送り側 [受け側] [/y]
/y スイッチを付けない xcopy コマンドは、送り側と受け側で同じ名前のディレクトリ、またはファイルが存在する場合、上書きの確認メッセージを表示します。
C:\MyDir>xcopy sample01.txt SubDir C:\MyDir\SubDir\sample01.txt を上書きしますか (Yes/No/All)?
確認メッセージを省略して上書きコピーするには、/y スイッチを付けて実行します。
| dir | … | ディレクトリの詳細を表示する |
Copyright (C) 2005-2007 Noto Watabe. All rights reserved.
e-mail:wmh@always-pg.com