WWW.NNC.IR
Macro Reference
587
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
Kill
Deletes a file.
Format
Kill <fileName>
Parameter
Return value
None.
Description
Deletes the file of the file name specified in the <fileName> parameter.
In the <fileName> parameter, use an absolute path to specify the file name including the drive name.
Characters * (character string wildcard operator) and ? (single character wildcard operator) can be used as
wildcards for the <fileName> specification. These wildcards can be used to specify file names and cannot be
used for the directory name specification. Directory names that match the wildcard pattern will not be deleted.
For example, the "Kill "E:\img\*" statement will not delete the "M:\img\caputure\" directory.
Wildcards can be used to specify file names in the following manner.
In the following cases, the file cannot be deleted.
• The specified file does not exist.
• The external memory has not been inserted.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• None.
Parameter
name
Data type
Description
<fileName>
Character
string type
Absolute path of the file to delete
*.*
Specify all file with the extension.
*
Specify all files.
???.*
Specify the files with file name having an extension with a three-character file root name.
???????
Specify the files with file name having a seven-character file name including the file
name extension separator (.).
A*.*
Specify the files with file name having an extension with file name starting with "A".
A*A*A
Specify the files with file name (including file extension) having three and more "A"s.
????*
Specify the files with file name (including file extension) having four and more characters.
????*.*
Specify the files with a file name having a file root name with four or more characters and
an extension.
*.??
Specify the file with 2 characters extension name.
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...