TCL
wincopy command
.mdThe wincopy command is a modified version of the copy command that copies items between D3 and the Windows file system.
Syntax
WINCOPY {filename} {item.list} {(options}
TO:{(filename} {item.list}
Parameter(s)
| filename | Specifies the name of the D3 file or a Windows directory path. | |
| item.list | Specifies a list of items to copy. | |
| * | Specifies that all items in the file or directory path should be copied. | |
| options | L | Specifies lowercase item names on destination. |
| U | Specifies uppercase item names on destination. | |
| O | Specifies overwrite existing items on destination. | |
Description
The wincopy command allows items in a D3 file to be copied to a Windows directory or to copy files from a Windows directory to a D3 file.
Attribute marks in the D3 data are converted to Windows end-of-line markers (crlf) when copying to Windows and Windows end-of-line markers (crlf) are converted to attribute marks when copying from Windows to D3.
Example(s)
Example 1
The following example copies the items a, b, and c from the D3 file myfile to the Windows directory c:\temp as files a, b, and c as long as files a, b, and c do not already exist.
wincopy myfile a b c to:(c:\temp
Example 2
The following example copies items a, b, and c from the D3 file myfile to
the Windows c:\temp directory as files A, B, and C, overwriting any
existing file.
wincopy myfile a b c (uo to:(c:\temp
See also
Referenced by
1 topic mentions wincopy command in its description.