en-938821/2 5 - 91
CNC Operation
5
Fill in the command (See syntax) ☞
Syntax
COPY (\[pathname]) [filename1].[ext1] (\pathname]) [filename2].[ext2]
[pathname1] names of the subdirectories (separated by "\") leading to the desired
source subdirectory (optional)
[filename1] names of the files to be copied. All or part of the name can be
replaced by "∗" (See use of character "∗")
[ext1] extensions of the files to be copied. All or part of the extension can
be replaced by "∗" (See use of character "∗")
[pathname2] names of the subdirectories (separated by "\") leading to the desired
target subdirectory (optional)
[filename2] new filename
[ext2] new extension
Use of the wildcard character "∗"
In the filename:
- COPY ∗.[ext1] ∗.[ext2] copies all the files with [ext1] to [ext2]
- COPY [xx]∗.[ext1] ∗.[ext2] copies all the files whose name begins with [xx] (minimum one character) from [ext1]
to [ext2].
In the extension:
- COPY [filename1].∗ [filename2].∗ copies the files with [filename1] to [filename2]
- COPY [filename1].[yy]∗ [filename2].∗ copies all the files with [filename1] and whose extension begins with the
string [yy] (minimum one character) to [filename2].
The character "∗" cannot be used in both the name and the extension.
Concatenation
Several files can be concatenated when copying. The syntax is as follows:
COPY [filename1].[ext1]+[filename2].[ext2]+...+[filenamen].[extn][filename].[ext].
Concatenation can only be in the current directory and the character "∗" cannot be used.
Display of the file copy report, e.g.:
start of copy
TOOLS.001
PROGS.001
2 file(s) copied
Exit from the Procedure
Exit from the page. ☞
OUT
Exiting from the page cancels current operations.