Missing Xcopy ?

1. Copy xcopy from c:\windows\system32 in other computer

2. Set path : >path c:\windows\system32



Xcopy is a powerful version of the copy command with additional features; has the capability of moving files, directories, and even whole drives from one location to another.


xcopy c:\temp /e

The above example is the basic xcopy command to copy the files, directories, and subdirectories to the directory you’re currently in (directory yg sedang dipakai/aktif).

xcopy "c:\documents and settings\hope" /e

xcopy h:\*.* /a /e /k

xcopy a: b: /s /e /h

xcopy \rawdata \reports /d:12-29-1993

xcopy \rawdata \reports /d:12-29-1993 /l > xcopy.out

Alternatif for Windows 7 : Robocopy

robocopy source destination [file [file]…] [options]

robocopy "E:\test" \\server\public\test\ /MIR /W:20 /R:15 /LOG: \\server\public\logs

The /MIR switch tells Robocopy you want to mirror the two folders, copying all folders (even empty ones) from the source directory and purging folders from the destination if they no longer exist on the source. The /W and /R switches set the wait and retry options; in this case, Robocopy will retry each copy up to 15 times, waiting 20 seconds between attempts. (The defaults allow 1 million retries, at 30-second intervals, allowing copy operations to complete when an open file is closed, even if hours or days have passed since the command was first launched.)

Perform Multithreaded File Copies with Robocopy in Windows 7

To perform a multi-threaded copy, you use the new /MT[:n] switch, where n indicates the number of threads to be used. By default, n is 8 when you use the /MT option, and can be any value from 1 to 128.

Note that the multi-threaded option is not compatible with the /IPG and /EFSRAW options.

referensi : http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s