text
stringlengths
0
4.23k
0
No files were copied. No failure was encountered. No files were mismatched. The files already exist in the destination directory; therefore, the copy operation was skipped.
1
All files were copied successfully.
2
There are some additional files in the destination directory that aren't present in the source directory. No files were copied.
3
Some files were copied. Additional files were present. No failure was encountered.
5
Some files were copied. Some files were mismatched. No failure was encountered.
6
Additional files and mismatched files exist. No files were copied and no failures were encountered meaning that the files already exist in the destination directory.
7
Files were copied, a file mismatch was present, and additional files were present.
8
Several files didn't copy.
Note
Any value equal to or greater than 8 indicates that there was at least one failure during the copy operation.
Examples
It's highly recommended when running the robocopy command to create a log file that can be viewed once the process completes verifying its integrity. In the following examples, each one uses the /LOG: parameter. To append any log information to the same log file, use the /LOG+: parameter instead.
robocopy
/LOG:
/LOG+:
To copy all files and subdirectories, including empty directories, from the "Records" folder to the "Backup" folder on drive "D", type the following:
robocopy C:\Users\Admin\Records D:\Backup /E /ZB /LOG:C:\Logs\Backup.log
To mirror the contents of the "Records" folder to the "Backup" folder on drive "D", delete any files in the destination that don't exist in the source with 2 retries and waiting 5 seconds between each retry, type the following:
robocopy C:\Users\Admin\Records D:\Backup /MIR /R:2 /W:5 /LOG:C:\Logs\Backup.log
To copy all files and subdirectories that aren't empty from the "Records" folder to the "Backup" folder on drive "D", retaining the file data, attributes, and timestamps with 16 multi-threaded copy operation, type the following:
robocopy C:\Users\Admin\Records D:\Backup /S /E /COPY:DAT /MT:16 /LOG:C:\Logs\Backup.log
To move files and subdirectories, excluding empty directories, from the "Records" folder to the "Backup" folder on drive "D", and exclude files older than 7 days, type the following:
robocopy C:\Users\Admin\Records D:\Backup /S /MAXAGE:7 /MOV /LOG:C:\Logs\Backup.log
To copy all files and subdirectories, including empty directories, from the "Records" folder to the "Backup" folder on drive "D" showing the estimated time for each file and delete any files and directories in the destination that don't exist from the source, type the following:
robocopy C:\Users\Admin\Records D:\Backup /ETA /PURGE /LOG:C:\Logs\Backup.log
404 - Page not found
We couldn't find this page. You can try signing in, or choosing from the relevant search results below:
We couldn't find this page. You can try changing directories, or choosing from the relevant search results below:
rpcinfo
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Lists programs on remote computers. The rpcinfo command-line utility makes a remote procedure call (RPC) to an RPC server and reports what it finds.
Syntax
rpcinfo [/p [<node>]] [/b <program version>] [/t <node program> [<version>]] [/u <node program> [<version>]]
Parameters
Parameter
Description
/p [<node>]
lists all programs registered with the port mapper on the specified host. If you do not specify a node (computer) name, the program queries the port mapper on the local host.
/b <program version>
Requests a response from all network nodes that have the specified program and version registered with the port mapper. You must specify both a program name or number and a version number.
/t <node program> [\<version>]
Uses the TCP transport protocol to call the specified program. You must specify both a node (computer) name and a program name. If you do not specify a version, the program calls all versions.
/u <node program> [\<version>]
Uses the UDP transport protocol to call the specified program. You must specify both a node (computer) name and a program name. If you do not specify a version, the program calls all versions.
/?
Displays help at the command prompt.
[<node>]
<program version>
<node program> [\<version>]
<node program> [\<version>]
Examples
To list all programs registered with the port mapper, type:
rpcinfo /p [<node>]
To request a response from network nodes that have a specified program, type:
rpcinfo /b <program version>
To use Transmission Control Protocol (TCP) to call a program, type:
rpcinfo /t <node program> [<version>]
Use User Datagram Protocol (UDP) to call a program: