MCopy Main Topic

MCopy Topics | Next

MCopy Syntax

One Stepmcopy [LogPath]LogFile [SrcPath]SrcFile [DstPath]DstFile

Where

LogPath
specifies the path to the directory containing the log file for the copy operation. If LogPath is not specified, MCopy searches for the file in the current directory.
LogFile
specifies the file name of the log file to which to append a log of actions and errors for the copy operation. If the file does not exist, MCopy creates it.
SrcPath
specifies the path to the directory containing the source file that you want to copy. SrcPath can consist of a drive letter and colon, a UNC network path, a directory name, or a combination. If SrcPath is not specified, MCopy searches for the file in the current directory.
SrcFile
specifies the file name of a source file that you want to copy. The full file name must be specified; wildcards cannot be used.
DstPath
specifies the path and file name of the target file. DstPath can consist of a drive letter and colon, a network share name, a directory name, or a combination. Note that the directory must already exist. If DstPath is not specified, MCopy creates the file in the current directory.
DstFile
specifies the name of the file to which the SrcFile will be copied. Note that the full file name must be specified. Wildcards cannot be used.

Note Image Note

MCopy error messages can be decoded using the Net helpmsg command, as follows:

Net helpmsg errorcode

Where errorcode is the number of the error.